On Tue, Jun 17, 2014 at 4:04 PM, Ulli Hafner <[email protected]> wrote:
> I think it is always a bad idea to concatenate two localized texts, this
> might work in English but not in German.
Right, it is an I18N violation to concatenate localized strings. This
will happen to work in English and some other languages (Khmer maybe),
but will tend to break when there is an inflected case system, or
grammatical genders, or various other conditions. Localized values
should be treated as opaque sentences or smaller syntactic phrases.
BTW when changing the number of format arguments to a key (such as
changing the English value from ‘New {0}’ to ‘New’), you should pick a
new key name. Otherwise there can be a compatibility issue in
MessageFormat.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.