Languages, locales and button labels
Overview
The module picks each text by the locale of the store view, set in Stores → Configuration → General → General →
Locale Options → Locale. A locale is a code such as de_DE: language first, country second. This page lists the
locales the module ships texts for and what a store view with another locale gets.
Languages shipped
For each of these 22 locales the module ships the Annex I texts, the digital-content waiver texts, the button labels (English uses one generic EU English wording) and the translation of its screens and emails. The Pro modules ship translations for the same 22 locales. The Hyvä theme packages use the translations of the modules they extend.
| Locale | Language | Waiver texts editable in the admin |
|---|---|---|
bg_BG | Bulgarian | No |
cs_CZ | Czech | No |
da_DK | Danish | Yes |
de_DE | German | Yes |
el_GR | Greek | No |
en_US | English | Yes |
es_ES | Spanish | Yes |
et_EE | Estonian | No |
fi_FI | Finnish | Yes |
fr_FR | French | Yes |
hr_HR | Croatian | No |
hu_HU | Hungarian | No |
it_IT | Italian | Yes |
lt_LT | Lithuanian | No |
lv_LV | Latvian | No |
nl_NL | Dutch | Yes |
pl_PL | Polish | Yes |
pt_PT | Portuguese | Yes |
ro_RO | Romanian | No |
sk_SK | Slovak | No |
sl_SI | Slovenian | No |
sv_SE | Swedish | Yes |
Six regional locales also have their own waiver text fields in the admin: de_AT, de_BE, fr_BE, fr_LU,
nl_BE and sv_FI. See Settings: Digital Waiver.
Regional language fallback
When a store view with a regional locale has no text of its own and no override for its exact locale, it uses the texts of its parent language. When neither the regional locale nor its
parent has a text, the module uses English (en_US).
| Store view locale | Uses the texts of |
|---|---|
de_AT, de_BE, de_CH, de_LU | de_DE German |
fr_BE, fr_CA, fr_CH, fr_LU | fr_FR French |
nl_BE | nl_NL Dutch |
sv_FI | sv_SE Swedish |
it_CH | it_IT Italian |
es_AR, es_BO, es_CL, es_CO, es_CR, es_MX, es_PA, es_PE, es_US, es_VE | es_ES Spanish |
pt_BR | pt_PT Portuguese |
en_AU, en_CA, en_GB, en_IE, en_NZ | en_US English |
| Any other locale | en_US English |
For the translation of screens and emails, the fallback covers the free module's texts. It fills only the texts that have no translation for the regional locale itself.
How each text is chosen
| Text | What decides it | Where you change it |
|---|---|---|
| Annex I texts | The store view locale, then the fallback above. | Your developer replaces the text per locale in the theme. See Annex I texts: notice and model withdrawal form. |
| Digital-content waiver texts | Your override for the exact store view locale, if you filled one in. Otherwise the built-in text of the locale, then the fallback above. Some languages have a separate wording per country. | Customising the waiver texts |
| Step 1 and step 2 button labels | Your label in Step 1 Button Label or Step 2 Button Label (Confirmation), if you filled one in. Otherwise the built-in label of the locale, then the fallback above. | Settings: Frontend |
| Link in the customer account menu | The built-in label of the locale, then the fallback above. Your step 1 label doesn't change it. | Not editable |
| Screens and emails | Magento's translation for the store view locale. For texts of the free module, then the fallback above. | Languages, store views and translations |
The button labels of steps 1 and 2 don't go through Magento's translation, so a translation file or a language pack
can't change them. The account menu link does go through it: a translation file can change its label. A waiver text override for one locale, for example de_DE, is not used by a store
view set to de_AT: fill in the de_AT fields too. A store view whose locale has no fields of its own, such as
de_CH, always uses the built-in text.
What's next
- Button labels per language: the built-in labels in every language.
- Languages, store views and translations: which parts of the module are translated into which languages.
- A language is missing or falls back to English: what to check when a text shows in English.