You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I18nManager.setDefaultLocale(Locale newLocale) changes the locale for all
the I18n objects created via I18nFactory but I think it should also call
Locale.setDefault(newLocale) so that all new I18n objects would also come
with the newLocale.
Evaldas Juska
Original issue reported on code.google.com by evk...@gmail.com on 13 Sep 2007 at 3:26
The text was updated successfully, but these errors were encountered:
In the previous version I18nManager.setDefaultLocale() also set the global
default. I
found that that is an unexpected and potentially undesired side-effect so I
took it
out in the current release.
It's a valid point though that the name of the method suggests that all locale
objects created after will have that locale set. We may need to reconsider and
potentially add another API call.
Original comment by steffen....@googlemail.com on 13 Sep 2007 at 4:19
We can also document the current behavior better for that method and advise
callers to also call
Locale.setDefault().
If there are no objections, I will do this when I get a chance.
Original comment by berge...@gmail.com on 20 Mar 2010 at 11:04
Original issue reported on code.google.com by
evk...@gmail.com
on 13 Sep 2007 at 3:26The text was updated successfully, but these errors were encountered: