Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Internationalization
RAP Internationalization [message #140781] Tue, 21 July 2009 02:58 Go to next message
Eclipse UserFriend
Hi all,

From RAP tutorial on Internationalization there're at least 2
properties file type created, 1 to handle translation found in
plugin.xml/MANIFEST.MF (plugin.properties) and the other for translation
within our code. For easier maintenance, isn't it advisable to
centralize all the translation into 1 file only (e.g plugin.properties)
? How to call it from within our code without too much performance penalty ?

Any advice would be greatly appreciated.


Regards,

Setya
Re: RAP Internationalization [message #140922 is a reply to message #140781] Tue, 21 July 2009 11:46 Go to previous message
Eclipse UserFriend
Hi Setya,

these are two different stories. The message bundle has to reside in the
source tree to be resolved, while the plugin.properties file usually
resides in the bundle root. You may be able to change the latter by
modifying your Bundle-Localization header but I doubt very much that
this simplifies things. I'd recommend to stick to the conventions.

Regards, Ralf

Setya wrote:
> Hi all,
>
> From RAP tutorial on Internationalization there're at least 2 properties
> file type created, 1 to handle translation found in
> plugin.xml/MANIFEST.MF (plugin.properties) and the other for translation
> within our code. For easier maintenance, isn't it advisable to
> centralize all the translation into 1 file only (e.g plugin.properties)
> ? How to call it from within our code without too much performance
> penalty ?
>
> Any advice would be greatly appreciated.
>
>
> Regards,
>
> Setya
Previous Topic:Disable Highlights from Rows or only enable Highlights from Table-Cells in JFace TableViewer
Next Topic:Error 500 in Websphere: "class loading constraint violated"
Goto Forum:
  


Current Time: Sat May 10 18:23:38 EDT 2025

Powered by FUDForum. Page generated in 0.02434 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top