Looking for documentation? Take a look on our wiki

Main Menu

Date formating for translators

Started by Studio 42, December 12, 2011, 13:28:11 PM

Previous topic - Next topic

Studio 42

Hi all nice translators,

To have always a wellformated DATE in the form's using the calendar, Please respect this rules.

in normal case the date must correspond to
and converted to the right syntax(Change the en_GB after to your language code eg. de_DE, fr_FR ...)
to know the good value look in the "English" column
for en_GB it's : M/d/yy

For keys in d:\WEB\wamp\www\Joomla1.7.3\administrator\language\en-GB\en-GB.com_virtuemart.ini
this give :

input using calendar are now displayed in en-GB >> 12/31/99
To follow unicode standard

Always use only m, d and y for joomla and mm dd and y in JS formating to have the right value in the DB


Do you think that this will work with different date settings for different languages in multilingual sites?
Non-English Shops: Are your language files up to date?

Studio 42

This 3 key's are for the DatePicker, if the same rule is applied for the 3 then you can echange for each language,  the days month and years.
but all 3 must have the same format in the same order then the Database and display have always the good string.

If it's not respected then database save are false.
problem is Joomla 1.5 use old syntax,datepicker  javascript another and Joomla1.6+ use PHP directly.
But on thinking, i think i writer a simplier solution next ;)