dallaslu / gettext-commons

Automatically exported from code.google.com/p/gettext-commons
GNU Lesser General Public License v2.1
3 stars 3 forks source link

Respect locale when using messageformat #60

Open rlf opened 9 years ago

rlf commented 9 years ago

The current implementation uses the Locale.getDefault() instead of the respective i18n.getLocale() for formatting numbers, currencies etc. using MessageFormat.

This pull-requests changes that, so all formatting is done using the I18n objects getLocale() instead.