Config.NLS.Locale
serial class Config.NLS.Locale extends %Library.SerialObject
Installs or Imports a locale. Used by the IRIS Merge command.Property Inventory
Method Inventory
Properties
property FileName as %SysPath;
Filename of NLS Locale/Table export file to import.
Property methods: FileNameDisplayToLogical(), FileNameGet(), FileNameIsValid(), FileNameLogicalToDisplay(), FileNameLogicalToOdbc(), FileNameNormalize(), FileNameSet()
property Flags as %Integer [ InitialExpression = 7 ];
Bit flag specifying what to load from the import file.
1 - Load subtables only
2 - Load tables only
4 - Load locale only
1 - Load subtables only
2 - Load tables only
4 - Load locale only
Property methods: FlagsDisplayToLogical(), FlagsGet(), FlagsIsValid(), FlagsLogicalToDisplay(), FlagsNormalize(), FlagsSet()
property Name as %String (MAXLEN = 4);
Code name of the locale. Generally this is a 3-letter code
expressing the language and country followed by a character
size indicator: "8" for 8-bit character sets and "w" for Unicode.
Examples:
Examples:
ara8 - Arabic, Saudi Arabia, LatinA (ISO 8859-6) araw - Arabic, Saudi Arabia, Unicode arw8 - Arabic, Saudi Arabia, CP1256 (Windows-1256) chsw - Chinese (Simplified), China, Unicode chtw - Chinese (Traditional), Hong Kong/Taiwan, Unicode csw8 - Czech, Czech Republic, CP1250 (Windows-1250) csy8 - Czech, Czech Republic, Latin2 (ISO 8859-2) csyw - Czech, Czech Republic, Unicode dai8 - Danish, Denmark, Latin9 (ISO 8859-15) dan8 - Danish, Denmark, Latin1 (ISO 8859-1) danw - Danish, Denmark, Unicode daw8 - Danish, Denmark, CP1252 (Windows-1252) dei8 - German, Germany, Latin9 (ISO 8859-15) deu8 - German, Germany, Latin1 (ISO 8859-1) deuw - German, Germany, Unicode dew8 - German, Germany, CP1252 (Windows-1252) egi8 - English, United Kingdom, Latin9 (ISO 8859-15) egw8 - English, United Kingdom, CP1252 (Windows-1252) ell8 - Greek, Greece, LatinG (ISO 8859-7) ellw - Greek, Greece, Unicode elw8 - Greek, Greece, CP1253 (Windows-1253) ena8 - English, United States, ASCII eng8 - English, United Kingdom, Latin1 (ISO 8859-1) engw - English, United Kingdom, Unicode eni8 - English, United States, Latin9 (ISO 8859-15) enu8 - English, United States, Latin1 (ISO 8859-1) enuw - English, United States, Unicode enw8 - English, United States, CP1252 (Windows-1252) esi8 - Spanish, Spain, Latin9 (ISO 8859-15) esp8 - Spanish, Spain, Latin1 (ISO 8859-1) espw - Spanish, Spain, Unicode esw8 - Spanish, Spain, CP1252 (Windows-1252) eurw - Multi-language, Europe, Unicode fii8 - Finnish, Finland, Latin9 (ISO 8859-15) fin8 - Finnish, Finland, Latin1 (ISO 8859-1) finw - Finnish, Finland, Unicode fiw8 - Finnish, Finland, CP1252 (Windows-1252) fra8 - French, France, Latin1 (ISO 8859-1) fraw - French, France, Unicode fri8 - French, France, Latin9 (ISO 8859-15) frw8 - French, France, CP1252 (Windows-1252) heb8 - Hebrew, Israel, LatinH (ISO 8859-8) hebw - Hebrew, Israel, Unicode hew8 - Hebrew, Israel, CP1255 (Windows-1255) hun8 - Hungarian, Hungary, Latin2 (ISO 8859-2) hunw - Hungarian, Hungary, Unicode huw8 - Hungarian, Hungary, CP1250 (Windows-1250) ita8 - Italian, Italy, Latin1 (ISO 8859-1) itaw - Italian, Italy, Unicode iti8 - Italian, Italy, Latin9 (ISO 8859-15) itw8 - Italian, Italy, CP1252 (Windows-CP1252) jpnw - Japanese, Japan, Unicode jpuw - Japanese for Unix and VMS, Japan, Unicode jpww - Japanese for Windows, Japan, Unicode korw - Korean, Korea, Unicode ltuw - Lithuanian, Lithuania, Unicode ltw8 - Lithuanian, Lithuania, CP1257 mltw - Maltese, Malta, Unicode nld8 - Dutch, Netherlands, Latin1 (ISO 8859-1) nldw - Dutch, Netherlands, Unicode nli8 - Dutch, Netherlands, Latin9 (ISO 8859-15) nlw8 - Dutch, Netherlands, CP1252 (Windows-1252) norw - Norwegian, Norway, Unicode now8 - Norwegian, Norway, CP1252 (Windows-1252) plk8 - Polish, Poland, Latin2 (ISO 8859-2) plkw - Polish, Poland, Unicode plw8 - Polish, Poland, CP1250 (Windows-1250) ptb8 - Portuguese, Brazil, Latin1 (ISO 8859-1) ptbw - Portuguese, Brazil, Unicode pti8 - Portuguese, Brazil, Latin9 (ISO 8859-15) ptw8 - Portuguese, Brazil, CP1252 (Windows-1252) rus8 - Russian, Russia, LatinC (ISO 8859-5) rusw - Russian, Russia, Unicode ruw8 - Russian, Russia, CP1251 (Windows-1251) skyw - Slovak, Slovakia, Unicode svnw - Slovenian, Slovenia, Unicode tha8 - Thai, Thailand, LatinT (ISO 8859-11) thaw - Thai, Thailand, Unicode thw8 - Thai, Thailand, CP874 (Windows-874) turw - Turkish, Turkey, Unicode u2aw - U2 Saudi Arabia Unicode ukrw - Ukrainian, Ukraine, Unicode zdsw - Japanese with DSM-J compatibilty, Unicode zdtw - Japanese with DTM-J compatibilty, Unicode zduw - Japanese with DSM-J for Unix compatibilty, Unicode zip8 - Portuguese with Ipsum compatibility, Latin1 (ISO 8859-1)plw8 - Polish, Poland, CP1250 (Windows-1250)
Property methods: NameDisplayToLogical(), NameGet(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
Methods
classmethod ImportAll(FileName As %String = "LocalesExport.xml", ByRef NumImported As %String, Flags As %Integer = 7) as %Status
Imports all NLS records from an xml file.
Parameters:
This will call Config.NLS.Locales:ImportAll()
Parameters:
- FileName - Filename to import NLS records from
- NumImported (byref) - Returns number of records imported for each type of NLS record:
- NumImported("Locales")
- NumImported("Tables")
- NumImported("SubTables")
- Flags - Select which record types to import (can be added):
- 1 - SubTables
- 2 - Tables
- 4 - Locales
This will call Config.NLS.Locales:ImportAll()
Installs a locale.
This will call Config.NLS.Locales:Install()
This will call Config.NLS.Locales:Install()
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %Delete()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %GetSwizzleObject()
- %IsA()
- %IsModified()
- %IsNull()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %SerializeObject()
- %SetModified()
- %SyncObjectIn()
- %SyncTransport()
- %ValidateObject()
- LogicalToOdbc()
- OdbcToLogical()