Can I provide my own I18N provider ?
Yes, you can provide your own I18N provider by overriding a method “getI18nProvider” of class “I18NUI”.
Can I provide my own I18N listener?
No, You can not provide your own I18NChangeListener but get one by calling method of “getLocalChangeListener” class ”I18NUI”.
Can I provide my own component for local selection?
Yes, you can have your own component for local selection. You only need to make sure that your component calls out the method “valueChange” of “I18NChangeListener” as soon as local change event occurs.
How to provide Icon for actions?
You can provide Icons for any action by defining a resource file called “jaini18n.properties” or adding the Icon path in the System properties.
2 Comments
Hi,
ReplyDeleteare the examples on https://vaadin.com/directory#!addon/jain-i18n outdated? I try to use I18NResourceProvider for my CSSLayout-Class but intellij cannot find the I18NResourceProvider in the jars
Can you Please provide me it in more details, where exactly you are facing problem...
Delete-Lokesh
Post a Comment