Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
Perhaps this does not come up very often, but sometimes you want to display a message in a language that is not the current user's current locale.
For instance, we are adding multi-language capability to our product, and I want to be able to display a list of languages for which the text "Switch to [language]" is displayed in the target language, not the user's current language (because if they can't read English, it's going to be hard for them to read "Switch to Your Language".
I propose the addition of a getMessage method that allows you to explicitly indicate the locale to use.