[Phpmyadmin-devel] translating date/time related strings in js/messages.php

Marc Delisle marc at infomarc.info
Sun Feb 6 22:51:19 CET 2011


Le 2011-02-06 07:47, Dieter Adriaenssens a écrit :
> Hi,
> 
> I noticed that date/time related strings, like days of week, name of
> months, are listed in js/messages.php, using gettext.
> It seems a bit strange that these should be translated, as these
> translations are already done and available. (using strftime(), f.e.).
> 
> Why is it done this way in js/messages.php?
> 
To avoid problems in case the server has a faulty / not correctly set up
locale?

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list