-
1. Re: localized messages in rhq-plugin.xml
yusuke May 29, 2009 4:22 AM (in response to yusuke)To be precise:
How do I include multiple langage resources in one single plugin? -
2. Re: localized messages in rhq-plugin.xml
pilhuhn May 29, 2009 4:31 AM (in response to yusuke)Honestly, we did not really think of that yet.
Would you want trying - provide 2 message bundles for EN and another language and put it into the resources/ folder of the plugin source. Then change the text to use this properties.
Also for stuff within the plugin descriptor (rhq-plugin.xml) you need to be careful, as some stuff is not only shown to the user, but also an internal keyword to the plugin executable. -
3. Re: localized messages in rhq-plugin.xml
yusuke May 29, 2009 4:34 AM (in response to yusuke)Thanks for the comment.
I'm trying to compose Japanese message resources.
I'll look into it and will file a jira issue with a patch attached.
Thanks,
Yusuke -
4. Re: localized messages in rhq-plugin.xml
pilhuhn May 29, 2009 5:12 AM (in response to yusuke)That would be very cool!
-
5. Re: localized messages in rhq-plugin.xml
mazz May 29, 2009 8:54 AM (in response to yusuke)We actually have thought about this (i18n'ing the plugins) - but not implemented anything.
We need a way to figure out how, for example, we can provide translations for things like DisplayName but yet be able to default the actual display strings in case no translations are available. We were thinking something along the lines of using the DisplayName as both the key to the resource bundle but also the default string. I dunno - if anyone has any good ideas and want to look into proposing a design/implementation, we are willing to listen. -
6. Re: localized messages in rhq-plugin.xml
mmusgrov Jun 30, 2010 11:50 AM (in response to mazz)Has there been any progress on this issue? All the rhq plugins used in EAP will need to be i18n compliant.