hm, good question. at the moment ... not at all. never thought of that, but i'll take a look at it how it can be done. if you want to do a quick and dirty hack yourself right now, i guess you could modify the "currency" method in the "class.I18NformatNumber.inc.php" class and add a new argument ("position" for example) and do a if/else seperation for the return output.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I thought so. This is the obvious problem for all appl translated to other langs.
Position is good, but how I will decide about the correct position?
Let say a new lang_classFormatNumber.inc entry ( currency_position = left or right)?
And than, things are to complicated for me to hack ;) Still using V1.061.
Flaimo, thanks for reply. Dean
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
normaly that depends on the locale where to put symbol, but for example for $ or both variations can be correct, so you would have to decide from string to string anyway where you want it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
oh, and ny the way, i'm not developing the 1.x version anymore. if its a bug i maybe fix it, but this would be a feature request, which i only will add to the 2.x version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
How to change $fn->Currency to show the symbol sign from left or right side of the number?
For example en_us is 100$
but
hr_hr is kn100
Thanks!
hm, good question. at the moment ... not at all. never thought of that, but i'll take a look at it how it can be done. if you want to do a quick and dirty hack yourself right now, i guess you could modify the "currency" method in the "class.I18NformatNumber.inc.php" class and add a new argument ("position" for example) and do a if/else seperation for the return output.
Yes,
I thought so. This is the obvious problem for all appl translated to other langs.
Position is good, but how I will decide about the correct position?
Let say a new lang_classFormatNumber.inc entry ( currency_position = left or right)?
And than, things are to complicated for me to hack ;) Still using V1.061.
Flaimo, thanks for reply. Dean
normaly that depends on the locale where to put symbol, but for example for $ or both variations can be correct, so you would have to decide from string to string anyway where you want it.
oh, and ny the way, i'm not developing the 1.x version anymore. if its a bug i maybe fix it, but this would be a feature request, which i only will add to the 2.x version.