ArchLanguages()

new ArchLanguages()

Represents the collection of Architect supported languages. This service will return ArchLanguage instances from various methods as they'll represent actual language instances.

Extends

Members

static, readonly displayTypeName :string

Returns the display type name string 'ArchLanguages'.

bulgarianBulgaria :ArchLanguage

The Bulgarian (Bulgaria) language. (tag: bg-bg)

chineseSimplified :ArchLanguage

The Chinese Simplified (People's Republic of China) language. (tag: zh-cn)

chineseTraditional :ArchLanguage

The Chinese Traditional (Hong Kong S.A.R.) language. (tag: zh-hk)

czechCzechRepublic :ArchLanguage

The Czech (Check Republic) language. (tag: cs-cz)

dutchNetherlands :ArchLanguage

The Dutch (Netherlands) language. (tag: nl-nl)

englishAustralia :ArchLanguage

The English (Australia) language. (tag: en-au)

englishGreatBritain :ArchLanguage

The English Great Britain language. (tag: en-gb)

englishUnitedStates :ArchLanguage

The English (United States) language. (tag: en-us)

finnishFinland :ArchLanguage

The Finnish (Finland) language. (tag: fi-fi)

frenchCanada :ArchLanguage

The French (Canada) language. (tag: fr-ca)

frenchFrance :ArchLanguage

The French (France) language. (tag: fr-fr)

germanGermany :ArchLanguage

The German (Germany) language. (tag: de-de)

italianItaly :ArchLanguage

The Italian (Italy) language. (tag: it-it)

japaneseJapan :ArchLanguage

The Japanese (Japan) language. (tag: ja-jp)

readonly logStr :string

A string suitable for logging

Overrides:

readonly logStrTypeOnly :string

This is a string suitable for logging information about this object where it's just the object's type. This is normally used when logging errors that occur in constructor parameter checking because the scripting object isn't set up and the normal logging str contents wouldn't be set up.

Inherited From:

norwegianNorway :ArchLanguage

The Norwegian (Norway) language. (tag: nb-no)

polishPoland :ArchLanguage

The Polish (Poland) language. (tag: pl-pl)

portugueseBrazil :ArchLanguage

The Portuguese (Brazil) language. (tag: pt-br)

portuguesePortugal :ArchLanguage

The Portuguese (Portugal) language. (tag: pt-pt)

romanianRomania :ArchLanguage

The Romanian (Romania) language. (tag: ro-ro)

slovakSlovakia :ArchLanguage

The Slovak (Slovakia) language. (tag: so-so)

spanishSpain :ArchLanguage

The Spanish (Spain) language. (tag: es-es)

spanishUnitedStates :ArchLanguage

The Spanish (United States) language. (tag: es-us)

thaiThailand :ArchLanguage

The Thai (Thailand) language. (tag: th-th)

Methods

getByLanguageTag(ietfLanguageTag) → {ArchLanguage}

Gets an Architect language by its language tag. The tag is evaluated in a case insensitive manner.

Parameters:
Name Type Description
ietfLanguageTag string

the language tag of the language to look up.

Throws:

If the language tag is unspecified or cannot be looked up, this method will throw.

Returns:
ArchLanguage -

The Architect language with the specified tag.

isFilterMatch(archFilterObject) → {boolean}

Returns whether or not this Architect Scripting object is a match for the supplied ArchFilterObject instance.

Parameters:
Name Type Description
archFilterObject ArchFilterObject

the object filter to use to determine if it's a match.

Returns:
boolean
Inherited From:

logError(errorStr)

Logs an error to the logging service with a log header from this object's logStr property value when ArchLogging#logErrors is true.

Parameters:
Name Type Description
errorStr string

the error string to log.

Inherited From:

logErrorAndThrow(errorStr)

Logs an error to the logging service with a log header from this object's logStr property value when ArchLogging#logErrors is true and then throws the string in the errorStr parameter.

Parameters:
Name Type Description
errorStr string

the error string to log. This should be a non-blank string.

Throws:
  • Throws the submitted error string.
Inherited From:

logNote(noteStr)

Logs a note to the logging service with a log header from this object's logStr property value when ArchLogging#logNotes is true.

Parameters:
Name Type Description
noteStr string

the note string to log. This should be a non-blank string.

Inherited From:

logNoteVerbose(noteStr)

Logs a note to the logging service with a log header from this object's logStr property value when ArchLogging#logNotesVerbose is true.

Parameters:
Name Type Description
noteStr string

the note string to log. This should be a non-blank string.

Inherited From:

logWarning(warningStr)

Logs a warning to the logging service with a log header from this object's logStr property value when ArchLogging#logWarnings is true.

Parameters:
Name Type Description
warningStr string

the warning string to log. This should be a non-blank string.

Inherited From: