Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Translation link + other questions

Go to End



Community Member, 3 Posts

29 December 2011 at 7:09am

after a longer "SilverStripe" break i finished my first SS-Project. :-)
I'm rly proud about this, all runs rly rly great!

I uses SS for my final exams, and there I learned alot with SilverStripe to realize my first little project.

But now I have some open questions (left):
- Translation link if no Translation (Page) exists
- $Form is allways in english, not in the "current language"?!
- Contact form "requiredFields" are allways in english too, not in german if the page is german

1.Translation Link:



If I set a "Home" Page in the BE (backend, admin menu) in the "German Area" of the Page, so a "Flag for the English" language apears in the FE (frontend, user view), look at my template Code, thats all correct.
But if I have a "über uns" (german) and no "about us" (english) Page, the Flagg is not visible. In that case I wanna have a Flagg that link you to the "home page" of the other language. So if the user is on the "über uns" (german) Page, and there is NO english version of that page, the Flagg Link should direct you to the "starting page" in the other language.

And a little question to the _config.php line 7 and 8.
What did this 2 lines do? Line 8 (site config) I understand, so I have translations for this, but Line 7 makes no differents for me.
I tested this enabled and disabled :-\

2. Form - Login Form in the FE:

With $Form I create the "Login Form" to login into BE. (localhost/admin)
That works well, like every other things. But this form is allways in english, no matter if the FE is in german or other language.
That's not rly important at the moment, but for later it is, because if I create a site for a german company or something like that, they wanna have this in her own language.
It would be great if someone knows a solution for that :-)

3. Contact form in the FE:


There are the "RequiredFields" they are allways in english too, no translations for that.
Whats the easiest way to change this? It's rly strange that the Framework outputs are only in english?! O.o

Thats all from me, this 3 little questions are left in my first SilverStripe Project.
I have to search a "photo box" for SilverStripe, that means if I click on a picture, entered in a module OR tiny, this should be have the "pop up" javaScript feature, that expand the image. But I think I can find this alone, if someone have a link, I dont throw that link away :-D

Greetings and many THXs

Original Post (german forum):