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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

Some language problems

Go to End



Community Member, 3 Posts

9 June 2008 at 5:33pm

Hi, I'm translating spanish language files, since they needed a face lift. The problem is that it seems that no all strings are translatable, even though they are present in saphire en_US or cms en_US. This is the case of, for example, the strings used in the login form for admin authentication at url/admin, or user auth at protected pages.

Just to put en example:

$ grep -rn "PERMDEFAULT" cms/lang/{en_US.php,es_ES.php}
cms/lang/en_US.php:181:$lang['en_US']['LeftAndMain']['PERMDEFAULT'] = 'Please choose an authentication method and enter your credentials to access the CMS.';
cms/lang/en_US.php:347:$lang['en_US']['LeftAndMain']['PERMDEFAULT'] = 'Enter your email address and password to access the CMS.';
cms/lang/es_ES.php:269:$lang['es_ES']['LeftAndMain']['PERMDEFAULT'] = 'Por favor elija un método de autentificación e introduzca sus datos de acreditación para acceder al CMS.';

This, and other strings, are not translated at all :(