Number FormattingWithin many non-internationalized applications, numbers assume a US English format by using commas and decimals to connote place holders. However, in some European locales, for example, numbers take the form:
The non-internationalized software code base should be updated to provide locale-dependent number formatting. ICU (International Components for Unicode) provides robust support for locale-based number formatting; more information can be found at ICU Number Formatting. It is debatable whether or not percentage signs ('%') are culturally acceptable across the world. You should work with your localization vendor to ascertain whether or not '%' is acceptable within its target locales. If not, the '%' should be externalized and handled like any extracted content within the system. C ExampleThe following is a C example of double number formatting ("7.0") using the default locale:
|