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, biapar, Willr, Ingo, swaiba, simon_w

Problems with the language


Reply


3 Posts   621 Views

Avatar
jms

Community Member, 4 Posts

22 January 2010 at 11:06am

Edited: 22/01/2010 4:10pm

Hi,

I'm trying to set the language at my web-page with:

Translatable::set_default_locale('da_DK');

But it does not work. Security/login stil says "Thank you! The password reset link has been sent to ''." and not "Link til at nulstille kodeordet er sendt til".

What is wrong?

Avatar
Martijn

Community Member, 271 Posts

22 January 2010 at 11:51am

Maybe not all strings are translated in Danisch. Have you checked the language files?

And did you set your user account Locale to da_DK as well?

Avatar
jms

Community Member, 4 Posts

23 January 2010 at 6:29am

It's not a problem with the backend(admin). The back end is in Danish, but the front end templates are still in English.