grlongo Posted October 14, 2011 Posted October 14, 2011 Hi Mates, Please, I can´t find into the code where I can change the language of the month displayed in the index page. My oscommerce is in portuguese but looks like this: Bem vindo à Base Bem vindo Visitante! Autentique-se ou crie uma nova conta Novidades de October I´d like to change all the months to portuguese aswell. October is in english! Could I get some help from here??? Thanks a lot! Guilherme Longo
germ Posted October 14, 2011 Posted October 14, 2011 Towards the top of your /catalog/includes/languages/portugese.php try changing the setlocale call to this: @setlocale(LC_TIME, 'Portuguese_Portugal.1252'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
grlongo Posted October 15, 2011 Author Posted October 15, 2011 Thanks....! Worked just fine! Guilherme Longo
germ Posted October 15, 2011 Posted October 15, 2011 If you upload to a Unix server try this instead: @setlocale(LC_TIME, 'pt_PT.ISO8859-1'); That worked on my server, but that doesn't guarantee it will work on yours. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.