[sugar] internationalizing numbers?

Erik Blankinship erikb
Fri Oct 26 09:57:00 EDT 2007


On 10/26/07, Pascal Scheffers <pascal at scheffers.net> wrote:
>
>
> >>Other than that, and only judging from the occasional arab, japanese,
> >>chinese and hebrew website I see but cannot read, most just use roman
> >>numerals like we do in left to right, most significant digit first.



Is there a function that can do this conversion based on which .po file is
being used?

In Java, I would use:

NumberFormat.getPercentInstance(Locale.US);


and

NumberFormat.getIntegerInstance(Locale.US);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20071026/f931f8ca/attachment.htm 



More information about the Sugar-devel mailing list