Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] single quote in a NL files


Hi,

If you need to add new NL string to your .properties files, please keep the following information in mind.  Otherwise the file will not be translated.

The followings are special comments in properties files for single quote handling:
# NLS_MESSAGEFORMAT_ALL
# NLS_MESSAGEFORMAT_NONE
# NLS_MESSAGEFORMAT_VAR


And this is what those comments mean:
All strings, either up to the next NLS_MESSAGEFORMAT comment or the end of the file, are handled as follows:

NLS_MESSAGEFORMAT_ALL
Each string is assumed to be processed by the MessageFormat class (single quote must be coded as 2 consecutive single quotes '').

NLS_MESSAGEFORMAT_NONE
All strings are assumed to NOT be processed by the MessageFormat class (single quote must be coded as 1 single quote ').

NLS_MESSAGEFORMAT_VAR
Strings which contain replacement variables are processed by the MessageFormat class (single quote must be coded as 2 consecutive single quotes ''). Strings which do NOT contain replacement variables are NOT processed by the MessageFormat class (single quote must be coded as 1 single quote ').



Thanks,

Xuan Chen,  Problem Determination Tools for iSeries
(905) 413-3769 T/L 313-3769
xuanchen@xxxxxxxxxx


Back to the top