Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.26.04
-
None
-
None
Description
The StringCodecFactory should be extended with the option to retrieve localized StringCodecs.
The signature for this method will be public StringCodec getStringCodec(String encoding, String locale);
It should be smart enough to return the same StringCodec for the same language if spoken in different countries, for example, the locales 'de', 'de_DE' and 'de_AT' should all get the StringCodec that is registered with locale 'de'. If a more specific StringCodec is registered, like 'de_AT' it will return that instead, for locale 'de_AT', the other two will still get the StringCodec for 'de'.