1Z0-805 · Question #89
Given a language code of fr and a country code of FR, while file name represents a resource bundle file name that is not the default?
The correct answer is A. MessageBundle_fr_FR.properties. A properties file is a simple text file. You can create and maintain a properties file with just about any text editor. You should always create a default properties file. The name of this file begins with the base name of your ResourceBundle and ends with the .properties…
Question
Given a language code of fr and a country code of FR, while file name represents a resource bundle file name that is not the default?
Options
- AMessageBundle_fr_FR.properties
- BMessageBundle_fr_FR.Profile
- CMessageBundle_fr_FR.Xml
- DMessageBundle_fr_FR.Java
- EMessageBundle_fr_FR.locale
How the community answered
(50 responses)- A82% (41)
- B4% (2)
- C2% (1)
- D4% (2)
- E8% (4)
Explanation
A properties file is a simple text file. You can create and maintain a properties file with just about any text editor. You should always create a default properties file. The name of this file begins with the base name of your ResourceBundle and ends with the .properties suffix. To support an additional Locale, your localizers will create a new properties file that contains the translated values. No changes to your source code are required, because your program references the keys, not the Oracle 1Z0-805 Exam For example, to add support for the German language, your localizers would translate the values in LabelsBundle.properties and place them in a file named LabelsBundle_de.properties. Notice that the name of this file, like that of the default file, begins with the base name LabelsBundle and ends with the .properties suffix.
Topics
Community Discussion
No community discussion yet for this question.