17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1992 Views |
-
Where can you change languages?

9 November 2008 at 6:12am
I found the lang directory but where can you set the language for the frontend or the backend?
Is there a way for flexible language settings, so that the user can set it in the admin and frontend themselfs?
-
Re: Where can you change languages?

11 November 2008 at 12:43pm
Hoi,
You can change the backend language in _config.php which is a file in the sapphire directory.
There's a commented line for i18n settings. Uncomment it and change it to:i18n::set_locale('nl_NL');
Reload the backoffice in your browser en klaar is Kees.
Cheers.
-
Re: Where can you change languages?

11 November 2008 at 12:58pm
Is it also possible for the visitors to change the front-end language?
That i add a field in the cms with language english, german and dutch. And then on the front-end they choose.
If the page isn't available in their language you can set a default language which takes over.
-
Re: Where can you change languages?

19 November 2008 at 5:50am
I was wondering the same thing, and it looks like there is a ready-made solution: http://silverstripe.com/Language-Chooser-Widget-2/
More about the various options can be found here http://doc.silverstripe.com/doku.php?id=multilingualcontent recommend you give it a read first.
-
Re: Where can you change languages?

19 November 2008 at 6:14am
I am trying to implement a form for newsletter signup and want to change the word submit (what the site visitor sees, not logged in users) on the submit button into German. Where do I do this?
| 1992 Views | ||
|
Page:
1
|
Go to Top |

