Content deleted Content added
Padrecamara (talk | contribs) ←Created page with 'A resource bundle is a Java .properties file that contains locale-specific data<ref>[http://java.sun.com/developer/technicalArticles/Intl/ResourceBundles/]<…' |
Padrecamara (talk | contribs) |
||
Line 5:
Resource bundles have a naming convention to identify them when they deal with different languages. The file name is followed by an underscore and a two-letter language code ([[ISO 639-2]] code) that specifies the language that the resource bundle deals with. So, for example, an application that supports Spanish and French can have these resource bundles:<br />
resbund_es.properties (this one includes data for version in Spanish)<br />
resbund_fr.properties (this other one includes data for version in French)<br />
This can also be followed by another underscore and a two-letter country code([[ISO 3166-1]]). In this case, an application that supports British and US English will have the following files:<br />
resbund_en_UK.properties<br />
resbund_en_US.properties<br />
== Content of resource bundles ==
|