Jump to content

[SOLVED] Bug in Hong Kong localization pack


Recommended Posts

I submitted an error report here. This is the same issue as PSCFI-5848, and it was resolved in the 1.4 branch after it forked to 1.5.

 

The Hong Kong localization pack can not be installed because the variable decimals=2 needs to be decimals=1. I updated my local version, but the installer prefers to grab the file remotely. Compare:

To work around this, in classes/LocalizationPack.php line 258 says:

 

$currency->decimals = (int)$attributes['decimals'];

 

After that, add:

 

// Hong Kong language pack temp bug fix */

if ($currency->iso_code == 'HKD') $currency->decimals = 1;

Edited by BenLivingston (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...