Skip to main content

Getting started with Mobile internationalization API. Part 2

Posted by tbrandalik on February 16, 2007 at 3:46 AM PST

I'm back to finish this tutorial which started here. So let's have a look at internal structure of a resource file and explain how to work with resources in JSR238.

In part1 we talked about directory structure of resource files in the application, but I haven't shown any code for accessing them. Here is it. Main entry point into resource files is ResourceManager class. There's not much to screw up ;-)

	// look for phrases resource file under default locale
	rm = ResourceManager.getManager(