Language Code (ISO 639-1 alpha-2, LowerCase) generator
Last modified: April 3, 2025
The Language Code (ISO 639-1 alpha-2, LowerCase) generator produces two-letter lowercase codes representing languages, based on the ISO 639-1 standard. These codes are widely used for identifying languages in software, databases, and web applications.
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 (l) | 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’ or ‘Culture’, with any or no characters in between, regardless of the table name.
- The column name is ‘id’, and it belongs to a table whose name is ‘language’, ‘culture’, or ‘ethnic’.
- The column name is ‘code’, and it belongs to a table whose name is ‘language’.
- The column name starts with ‘Lang’, ‘culture’, or ‘ethnic’ and ends with ‘id’, with any or no characters in between, regardless of the table name.
- The column name is ‘language’, regardless of the table name.
Configure additional options
The generator produces data based on a regular expression. Since it is built on the RegExp generator, see Regular Expression generator to customize settings and understand the correct usage of syntax.
The Text box displays a .csv file that contains a list of language codes. The default path to the file is C:\Users\Public\Documents\Devart\dbForge Studio for PostgreSQL\Data Generators\LanguageCodes.csv.
Preview of the column data generated by the Language Code (ISO 639-1 alpha-2, LowerCase) generator
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for PostgreSQL.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.