Details
Description
As proposed by Emerson Macedo on dev list, it would be useful to have keywords for different languages pre-configured.
An I18nKeywords that reads keywords from I18n resource bundles for different Locales should do the trick.
We can provide i18n bundles for the most common locales in our core jar (very small overhead in terms of size!), and users can add or override them as needed.
The localisation should be done when instantiating the Keywords class so it only happens once.
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Description |
As proposed by Emerson Macedo on dev list, it would be useful to keywords for different languages pre-configured. An I18nKeywords that reads keywords from I18n resource bundles for different Locales should do the trick. |
As proposed by Emerson Macedo on dev list, it would be useful to have keywords for different languages pre-configured. An I18nKeywords that reads keywords from I18n resource bundles for different Locales should do the trick. We can provide i18n bundles for the most common locales in our core jar (very small overhead in terms of size!), and users can add or override them as needed. The localisation should be done when instantiating the Keywords class so it only happens once. |
Mauro Talevi
made changes -
Assignee | Mauro Talevi [ maurotalevi ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Mauro Talevi
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Mauro Talevi
made changes -
Component/s | Core [ 11086 ] |
About YAML, I've made my jar using it because only on Java 6 or early we
have possibility to set encoding of properties files. So, using Java 5 or
older, we need to use unicode code points to represent chars in some
languages because It assumes the file encoded with ISO 8859-1. In my
opinion, if people need to use code points, the scenario will not be so
readable. What do you think?