concept English in category java

This is an excerpt from Manning's book Struts 2 in Action.
The text tag is used to display language-specific text, such as English or Spanish, based on a key lookup into a set of text resources. This tag retrieves a message value from the ResourceBundles exposed through the framework’s own internationalization mechanisms. We’ll explain this in greater detail in chapter 11. For now, we’ll just note the usage of the tag; it takes a name attribute that specifies the key under which the message retrieval should occur. The framework’s default Locale determination will determine the Locale under which the key will be resolved. Consult chapter 11 for full details on where to place properties files to make their resources available to this tag.
Java has always provided native support to allow us to easily access locale-sensitive text and formatting. The hardest part is having all the text translated into other dialects, which has nothing to do with Struts. Struts Classic leveraged this native support through the use of the java.util.PropertyResourceBundle and the java.util.ListResourceBundle, and so does Struts 2. Where Struts 2 differs is in the flexibility you have in selecting a language bundle. This is covered in greater detail in chapter 11. So that we don’t confuse what’s meant by the bundle selection, let me first identify what we mean about this selection. Suppose our website has been designed to accommodate English, German, Spanish, and French. This would require us to have the following files on our classpath: