| Type | info |
| Title | New MS-LCIDs and ISO code mappings |
| Posted by | [EMAIL PROTECTED] |
| Affected | ,i18npool |
| Effective from | CWS locales203 |
Summary
#include <i18npool/lang.h>
#include <i18npool/mslangid.hxx>
class MsLangId {
* convertLanguage...()
* convert...Language()
+ static bool hasForbiddenCharacters( LanguageType nLang );
+ static LanguageType getReplacementForObsoleteLanguage( LanguageType nLang );
};
Description
Added new LCIDs assigned for Windows Vista listed at
http://msdn.microsoft.com/library/en-us/intl/nls_238z.asp and their
ISO code mappings.
Some values now define locales we previously had assigned in the user
space, redefined the default mapping for those:
Kinyarwanda (rw-RW) 0x0487/0x0621
Upper Sorbian (hsb-DE) 0x042E/0x0623
Lower Sorbian (dsb-DE) 0x082E/0x0624
Occitan (oc-FR) 0x0482/0x0625
Breton (br-FR) 0x047E/0x0629
Kalaallisut (kl-GL) 0x046F/0x062A
Luxembourgish (lb-LU) 0x046E/0x0630
Old IDs (0x06..) still map to the corresponding ISO code, converting
ISO code to ID results in new ID (0x04..).
+ /** Map an obsolete user defined LANGID (see lang.h
+ LANGUAGE_OBSOLETE_USER_...) to the new value defined by MS in the
+ meantime. */
+ static LanguageType getReplacementForObsoleteLanguage(
LanguageType nLang );
The list of forbidden characters locales previously was defined local
to the language listbox source code in module svx. Moved to module
i18npool for better maintainability.
+ /** Whether there are "forbidden characters at start or end of
line" in
+ this locale. CJK locales.
+
+ @see offapi/com/sun/star/i18n/ForbiddenCharacters.idl
+ */
+ static bool hasForbiddenCharacters( LanguageType nLang );
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
