22849 Posts in 9710 Topics by 2803 members
Page: 1 2
|Go to End|
19 March 2009 at 6:44am
Welcome Startup3D with this translation problem.
We ve got nothing in these files (I checked only 2.2.3)
19 March 2009 at 7:53am
@tobych: IÂ´m using version 2.3.0 (stable)
19 March 2009 at 12:43pm
Okay, well I did some searching myself, I was curious about this. I Googled for [silverstripe "please fill out"] and found this Blog post:
var errorMessage = ss.i18n.sprintf(ss.i18n._t('VALIDATOR.FIELDREQUIRED', 'Please fill out "%s", it is required.'), fieldLabel);
It seems 2.3.0 includes translation of the string. Foulensois is using 2.2.3, and Otto 2.3.0.
Looking at the file for French, fr_FR, I see the translation:
'VALIDATOR.FIELDREQUIRED': 'Veuillez remplir "%s", c\'est un champ requis.',
The French file was added in time for 2.3.0, as far as I understand.
So Foulensois, if you want the translation in 2.2.3, you'll need to patch the code to match 2.3.0, or just change the string in Validator.js. Easiest to just patch that file, but of course it'd probably be best just to upgrade to 2.3.0.
Otto, if you're not seeing translation, I don't know what's going on.
If I'm missing something here, sorry!
19 March 2009 at 8:00pm
Thank you tobych, now i found it! I just tried my Editor-Search again and although js-files should be searched, Homesite still doesnÂ´t find that string. Finally i can change that line!
Following up-Question: Can someone tell me where to set the language-variable, so that the German "de_DE.js" is loaded, instead of "en_US.js"?
20 March 2009 at 4:13am
StartUp3D, I think I answered this question earlier in this thread:
22 March 2009 at 4:44am Last edited: 22 March 2009 4:46am
Stupid me - I cannot remove this post, that I never meant to submit in the first place - sorry for that
Page: 1 2
|Go to Top|