Author Topic: Date problem  (Read 1996 times)

deyana_tg

  • Beginner
  • *
  • Posts: 1
Date problem
« on: August 14, 2009, 15:45:03 pm »
Hi

I use joomla 1.5.14 and VM 1.1.2 with second language - bulgarian.

All in frontend and admin panel is ok in 2 languages - english and bulgarian.

Only there is problem with date in bulgarian. It is "??, 14 ?? 2009"

I think that I have to make some changes in file virtuemart_parser.php but don't

know how.

Here is code in my virtuemart_parser.php:

        @setlocale( LC_NUMERIC, 'en_US', 'en' );
   @setlocale( LC_TIME, $mosConfig_locale );

Something is wrong may be ...

Can you help me please?

Pisu

  • Moderator
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Date problem
« Reply #1 on: August 28, 2009, 23:07:25 pm »
The setlocale function is set using the "tag" information from Joomla language pack. You can see it in the XML of the language pack.

For example in italian is:
languages/it-IT/it-IT.xml

And the tag is:
<tag>it-IT</tag>
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net