Language Code (ISO 639-1 alpha-2, UpperCase) generator

Last modified: April 3, 2025

The Language Code (ISO 639-1 alpha-2, UpperCase) generator produces two-letter language codes based on the ISO 639-1 standard, with the codes presented in uppercase letters.

Generator properties

The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.

Short name Example of generated data Data type matching Country-specific
Language Code 2 (u) ES, FR, ZH, … character varyingcharactertext Default

Matching rules

The generator can be assigned to a column that matches any of the following rules:

  • The column name starts with ‘Lang’ and ends with ‘Code’, with any or no characters in between, regardless of the table name.
  • The column name starts with ‘Lang’ and ends with ‘id’, with any or no characters in between, and it belongs to a table whose name is ‘Language’.
  • The column name starts with ‘ethnic’ and ends with ‘id’, with any or no characters in between, regardless of the table name.

Configure additional options

The generator produces data based on an IronPython script. Since it is built on the Python generator, see Python generator to customize settings and understand the correct usage of syntax.

Preview of the column data generated by the Language Code (ISO 639-1 alpha-2, UpperCase) generator

Language Code (ISO 639-1 alpha-2, UpperCase) generator