GWT ramblings of a Flex developer – localization / I18N

January 30, 2012

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

%d bloggers like this: