Skip to main content

i18n in mailgo

Mailgo supports i18n.

The default behaviour of mailgo is to keep the lang from the <html> element of the page.

Mailgo works also with lang that only starts with a language code, for example in case of

<html lang="it-IT">
...
</html>

the italian language will be correctly displayed in mailgo modal.

However, you can also add some configuration options of this behaviour. See Configuration.

Available translations (and corrispondent language codes)

The available translation available in the latest version of mailgo are:

  • English (en)
  • Italian (it)
  • Spanish (es)
  • German (de)
  • French (fr)
  • Portuguese (pt)
  • Dutch (nl)
  • Russian (ru)
  • Swedish (sv)
  • Norwegian (no)
  • Danish (dk)
  • Icelandic (is)
  • Chinese Traditional (zh)
  • Japanese (ja)
  • Czech (cs)

The languages are available here: https://github.com/manzinello/mailgo/blob/master/i18n/languages.json.

Language codes

Languages codes are ISO 639-1 Code https://www.loc.gov/standards/iso639-2/php/code_list.php