Description attributes for MQe resources are available in all the different
MQe supported languages, in translated properties files. The language used
for the descriptions will be selected according to the default locale of your
machine, using the normal Java™ convention, as described briefly below.
You must provide appropriate properties files on your classpath for all
languages, including US English.
The properties files can be found in the folder
Java/com/ibm/mqe/properties below
the folder in which MQe was installed. This directory contains two required
properties files in all the supported languages:
- AdminDescBundle
- JMXDescBundle
Either all the properties files can be added to the classpath or just
the files required for your language.
There are two default files:
- AdminDescBundle.properties
- JMXDescBundle.properties
that contain the English descriptions. These files will be used if there
is no matching translated file for your locale.
All other files have a country code XX appended to the first part of the
filename to make JMXDescBundle_XX.properties where XX is
one of the following country codes:
Code |
Language |
de |
German |
es |
Spanish |
fr |
French |
it |
Italian |
ja |
Japanese |
ko |
Korean |
pt_BR |
Brazilian Portuguese |
zh |
Chinese |
zh_TW |
Traditional Chinese |
The Java system for selecting the language is as follows:
- determine the computer's default locale, for example fr_FR
- Search for that locale through the files provided, checking the language
code on each:
- If a fully-qualified language code file, for example file_fr_FR is not found,
then it will use the semi-qualified code file, if it exists — in that example file_fr
- When a file with a fully-qualified code is found, only the fully
matching locale will select it, for example locale pt_BR will
use the file file_pt_BR, but locale pt_PT will
not, and will hence default to English.
Note: The JTC recommend that when a fully-qualified language code file exists,
the semi-qualified code file must also exist, even if it is empty.