Skip to main content



      Home
Home » Newcomers » Newcomers » Externalizing Strings
Externalizing Strings [message #172656] Tue, 26 September 2006 21:45 Go to next message
Eclipse UserFriend
Originally posted by: mikeyatwork.gmail.com

I'm working on a large app that needs to be internationalized so I ran the
externalize strings wizard and it worked great, all my strings are now in
a properties file and I can access them through a nicely generated java
class.

Now comes the hard part, how does the app know which locale to use? My
application is a servlet based application (ie it is NOT an eclipse plugin
or something similar). The locale is specified within the request and so
the application can be handling multiple locales at once.

How does the code generated by the externalize strings wizard handle this
scenario? I've tried both the default wizard output and the new eclipse
mechanism but they both use static methods/variables and don't allow
passing locale params.

What's the best way to externalize strings when using Eclipse only as an
editor and NOT a platform?
Re: Externalizing Strings [message #172719 is a reply to message #172656] Wed, 27 September 2006 06:34 Go to previous message
Eclipse UserFriend
Mike wrote:

> I'm working on a large app that needs to be internationalized so I ran
> the externalize strings wizard and it worked great, all my strings are
> now in a properties file and I can access them through a nicely
> generated java class.
> Now comes the hard part, how does the app know which locale to use? My
> application is a servlet based application (ie it is NOT an eclipse
> plugin or something similar). The locale is specified within the
> request and so the application can be handling multiple locales at once.
>
> How does the code generated by the externalize strings wizard handle
> this scenario? I've tried both the default wizard output and the new
> eclipse mechanism but they both use static methods/variables and don't
> allow passing locale params.

They don't handle this scenario.

Dani

>
> What's the best way to externalize strings when using Eclipse only as
> an editor and NOT a platform?
>
Previous Topic:Where is the Eclipse 3.2 Motif version solaris
Next Topic:Products extension point vs product configuration file
Goto Forum:
  


Current Time: Mon Sep 22 06:08:33 EDT 2025

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

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

Back to the top