21490 Posts in 5783 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 116 Views |
-
Blog refuses to use locale settings

29 November 2012 at 9:17pm
Hi all,
I'm using the latest install of the blog module and Silverstripe 3.0.3. I've been trying to get the blog to use the de_DE locale, but with no luck at all – it insists on using the default en_US formatting for date and time.
I checked the server and the German locale must be set to de_DE.UTF8. I've tried this in mysite/_config.php as well as in blog/_config.php:
// Set the site locale
setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge', 'de_DE.UTF8');
i18n::set_locale('de_DE');
i18n::include_locale_file('blog', 'de_DE');and also tried creating a lang file called de_DE.UTF8.php and setting
i18n::set_locale('de_DE.UTF8');
i18n::include_locale_file('blog', 'de_DE.UTF8');but to no avail.
Help?
| 116 Views | ||
|
Page:
1
|
Go to Top |

