unstable Posted November 5, 2002 Posted November 5, 2002 Hi, i've been translating all of 2.2 version to portuguese and now..i do not know how to translate the date. Does the engine retrieves it from the system or from a file? what's the solution? Thanks in advance. 8)
sw45859 Posted November 6, 2002 Posted November 6, 2002 i think it retrieves it for the server, i may be wrong i haven't looked at that area of oscommerce.
puddled Posted November 7, 2002 Posted November 7, 2002 The program retrieves the date from the server, so wherever the server is located depends upon the time displayed. It uses standard php &mysql functions Instant idiot......Just add mud !!
Mark Evans Posted November 7, 2002 Posted November 7, 2002 Does the engine retrieves it from the system or from a file? what's the solution? The translation of the dates is handled by using the following in each of the language files setlocale(LC_TIME, 'en_US.ISO_8859-1'); Find the correct one for the portugese language and the month names will be translated for you :) Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
GaryPigott Posted July 17, 2003 Posted July 17, 2003 Does this actually work :?: I'm running a MS1 store in 5 languages and the day and month names stay the same.... even with @setlocale(LC_TIME, 'de_DE.ISO_8859-1'); in includes/languages/german.php and similar entries for other languages. Take a look here if you don't believe me... :? Gary "Verbogeny is one of the pleasurettes of a creatific thinkerizer." - Peter da Silva
kennfarbe Posted July 22, 2003 Posted July 22, 2003 Hi Gary. Install the glibc-locale package on the server and it's work. Thorsten Does this actually work :?: I'm running a MS1 store in 5 languages and the day and month names stay the same.... even with[...]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.