Page 1 of 1
Letter "d" instead of decimal point in prices ?
Posted: Tue Oct 13, 2015 5:55 pm
by Hrejvik
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/
Re: Letter "d" instead of decimal point in prices ?
Posted: Tue Oct 13, 2015 6:22 pm
by uksitebuilder
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.
Re: Letter "d" instead of decimal point in prices ?
Posted: Tue Oct 13, 2015 6:27 pm
by Hrejvik
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"
Re: Letter "d" instead of decimal point in prices ?
Posted: Tue Oct 13, 2015 6:31 pm
by uksitebuilder
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.
Re: Letter "d" instead of decimal point in prices ?
Posted: Tue Oct 13, 2015 6:59 pm
by Hrejvik
It's the same in slovak
$_['decimal_point'] = '.';
Re: Letter "d" instead of decimal point in prices ?
Posted: Tue Oct 13, 2015 7:15 pm
by Hrejvik
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)