CountryCode
Last updated
Last updated
The CountryCode()
function returns two-letter country code of a language
parameter.
The language
parameter is a specific language-code which is in the form en_US
or nl_NL
. (not a text with double quotes). The Expression Editor Functions Pane has a folder Localization where you can find the specific LanguageCodes.
This function is SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a text that contains the two-letter country code of a language.
Returns Unknown
if the parameter value is unknown.
Shows a syntax error "parameter mismatch" in the expression editor if the parameter is not a valid LanguageCode.
Name | Type | Required | Description |
---|---|---|---|
| languagecode | Specific language code (available within the Localization folder in the Expression Editor. |