Post by Hrejvik » Tue Oct 13, 2015 5:55 pm

Hi,

Guys, I'm desperate.. When I change the language on my template site from ENG to DE, or from ENG to RUS (these are 3 preinstalled languages in that template) everything is ok, but when I change the language to SK(SLOVAK) the style of product pricing goes from eg. 120.50$ to 120d50$ - instead of decimal point it's generating letter "d" - I don't get this.

Please Help :(

link to site: http://eufrazia.sk/site/

Newbie

Posts

Joined
Tue Oct 13, 2015 5:50 pm

Post by uksitebuilder » Tue Oct 13, 2015 6:22 pm

PLease check your currencies are set-up correctly in admin - System - Localisation - Currencies

If they are, then it is most likely a formatting problem with the theme and you should contact the theme developer for assistance.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Hrejvik » Tue Oct 13, 2015 6:27 pm

I'm sure they are set-up correctly. When I switch the language between russian, english or german and currencies between €, $ or £ everything is ok and decimal point stays as it is, but when I change the language to Slovak the decimal point changes to letter "d"

Newbie

Posts

Joined
Tue Oct 13, 2015 5:50 pm

Post by uksitebuilder » Tue Oct 13, 2015 6:31 pm

ahh, ok, it looks like it might be a language problem.

For english, in the catalog/language/english/english.php file there is the following:

$_['decimal_point'] = '.';

Check the sloval language file to see what it has set for that variable.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Hrejvik » Tue Oct 13, 2015 6:59 pm

It's the same in slovak

$_['decimal_point'] = '.';

Newbie

Posts

Joined
Tue Oct 13, 2015 5:50 pm

Post by Hrejvik » Tue Oct 13, 2015 7:15 pm

people on stackoverflow helped

in future for those who might experience the same issue - the problem was in your language the php file must be named same as the file directory thus eg

/slovak/slovak.php (it didnt work for me because I had it like /slovak/default.php)

Newbie

Posts

Joined
Tue Oct 13, 2015 5:50 pm
Who is online

Users browsing this forum: No registered users and 33 guests