7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Switching the language of DataObject Manager
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 416 Views |
-
Switching the language of DataObject Manager

17 November 2010 at 5:00am
Hi,
I would like to switch the language in DataObject Manager. It displays english language but my backend is in a different langugage. I see there is a translation already available in /lang but don't know how to switch.
Help is appreciated.
Greetz
Spanky -
Re: Switching the language of DataObject Manager

23 November 2010 at 3:33am
No help on this? It can't be that difficult.. the files are already there...
-
Re: Switching the language of DataObject Manager

23 November 2010 at 3:45am
I usually just use i18n::set_locale('en_US');
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: Switching the language of DataObject Manager

23 November 2010 at 3:45am
I usually just use i18n::set_locale('en_US');
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: Switching the language of DataObject Manager

23 November 2010 at 4:04am
that's what I use too:
// Set the site locale
i18n::set_locale('de_DE');for german. The file under /lang is called deDE3.php. After renaming it to de_DE.php it worked.
Thanks for the hint. Maybe you need to rename it and check it into your project for others to download correctly.
Spanky
| 416 Views | ||
|
Page:
1
|
Go to Top |

