A language is missing or falls back to English
Symptom
In a store view in another language, part of the withdrawal shows in English, or in the parent language, for example German on an Austrian store view. You see it on the withdrawal page, on the order card, at checkout or in an email.
Checks
- Go to Stores → Configuration → General → General → Locale Options, switch the scope to the store view and check
Locale. It is the language of the store view, for example
de_DEfor German. - Compare the locale with the list in Languages, locales and button labels. It is one of the 22 locales the module ships, or a regional locale with a parent language in the list.
- Find the text that is in English. If you entered it yourself, open it in Stores → Configuration → MageMe Extensions → EU Withdrawal at the scope of the store view. Use Website is cleared and the text is in the language of the store view. This applies to return reasons, the return shipping notice, button labels and email branding texts.
- If the text is in the Digital content waiver step and you wrote your own wording, open Digital Waiver (Art.
16(m)) → Per-Locale Waiver Text Overrides. Your text is filled in for the exact locale of the store view, for
example
de_AT, not only forde_DE. - If the text comes from a Pro capability, for example on the request page or in a Pro email, check the locale.
It is one of the 22 locales, not a regional one such as
de_AT. - If the text is in an email to your team, the new request alert or the overdue digest, go back to Locale Options at Default Config scope and check Locale. It is the language your team reads.
- If the text is in an email to the customer, open the order. It was placed in the store view of that language.
Expected result
You open the withdrawal page and the order card in the store view, and everything is in its language. A new request in that store view brings emails in the same language.
Fix
- If check 1 failed: set Locale for the store view and click Save Config.
- If check 2 failed: for a locale outside the list, the module shows its own texts in English. Have the texts translated in your theme or with a language pack. Your developer can add a translation for the locale.
- If check 3 failed: clear Use Website next to the field, enter the text in the language of the store view and click Save Config. The module does not translate the texts you enter. See Languages, store views and translations.
- If check 4 failed: fill in the fields for the exact locale too. An override for
de_DEis not used by ade_ATstore view. See Customising the waiver texts. - If check 5 failed: the fallback to the parent language covers the texts of the free module only. Pro texts on a regional store view show in English unless a language pack or your theme translates them.
- If check 6 failed: emails to your team use the locale of the Default Config scope, not the locale of the order. Set it to your team's language. Most of the text of these two emails stays in English even then: the module translates only a few of their lines, such as the subject of the new request alert. See Notifying your team.
- If check 7 failed: customer emails follow the store view where the order was placed, not the language the customer browses in now. This works as intended.
After a change to a locale or a translation, refresh the caches in System → Cache Management. If none of the checks helped, send MageMe support the store view, its locale and a screenshot of the text.
Related
- Languages, store views and translations: set up each language and your own texts.
- Languages, locales and button labels: the 22 locales and the regional fallback.
- Customising the waiver texts: your consent texts per locale.
- Button labels per language: the built-in labels of steps 1 and 2.
Was this page helpful?