GWT ramblings of a Flex developer – localization / I18N

Hello again,

This time I want to talk about localization (a.k.a. i18n).

As Flex developers, as I assume you already know, all you have to do is create a *.properties file (say Messages.properties) and in it define keys with localized values, like:


columnHeaderName=Name

Then, in the main application mxml, you would define the resource bundles:

<mx:Metadata>
	[ResourceBundle("Messages")]
</mx:Metadata>

And basically you’re done. All you need to do to use it, is use the ResourceManager class to access the localized value of the key.

Simple stuff, right?

Not so with GWT…
Read more here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: