What is a random language generator?

A random language generator picks languages, from widely spoken ones such as Spanish, Hindi and Arabic to smaller ones like Maltese, Fijian and Tatar, each with its two-letter code. Developers use them to test language pickers, translation settings and "languages spoken" fields in profiles. Teachers and quiz hosts build "where is this language spoken?" rounds with them, and writers give a character a mother tongue.

Tool description

The page begins with languages, and its first list is ready at once, with one language per line. Say how many you want in Count, hit Generate for another draw, and copy the list or save it as a text file.

The Language list has English, Chinese (China), Slovenian (Slovenia) and Urdu. It starts on the language of the page you're reading when the data comes in it, or on English otherwise. English gives each language its English name, while the other three name them in their own language and script, such as 德语 (de) for German in Chinese, and have shorter lists.

What each line holds

  • A language name followed by its code in parentheses, as in German (de) or Japanese (ja).
  • The codes are ISO 639-1 codes, the same two letters that start locale tags such as en-US or pt-BR.
  • The English list covers dozens of languages from all over the world, from Afrikaans and Albanian to Yoruba and Zulu.
  • Some names aren't the most common ones: Persian appears as Farsi/Persian and Dhivehi as Maldivian.
  • Finnish is listed twice, so it comes up about twice as often as the others, and in a long list every language can repeat.

Ideas for using it

  • Generate a few languages and ask quiz players which countries speak them.
  • Fill the language column of test user profiles, or of a mockup of a translation dashboard.

Features

  • Language names with their two-letter ISO 639-1 codes
  • Big world languages next to smaller ones
  • Lists as long as you need, made again with one click
  • Copy the list or download it as a text file
  • Runs in your browser: nothing you generate is sent anywhere