Change localization files

hi, I’d like to change things like date and currency format in my application. However, those settings are stored in the framework folder (i.e. i18n/data/en_us.php). Editing that file doesn’t seem like a good idea since it will be overwritten when the framework gets updated.

How do I set a custom file "en_us.php" that is specific to my application and not contained in the framework folder?

Currently I’m using code like this:


$cnf=new CNumberFormatter('en_us');

$cdf=new CDateFormatter('en_us');



I’d like a custom version of “en_us” (en_us is just an example, I want to be able to modify the settings of the framework folder because they are not accurate for some countries)

I will appreciate your help.