Magento 2: de_DE language pack not applying to de_AT
-
05-02-2021 - |
Вопрос
I am new to the Magento world and certain things are a little bit complicated for me. For example I have language pack for german language (code de_DE) purchased and installed. However my shops primary country is set to austria (de_AT).
Now all the language parts appear in english, instead of falling back to the german language. I can however create my own translation (or copy the one I have) for de_AT and then it works, but this is not desired as it creates duplicates and makes the language strings not undateable via the web setup wizard.
How can I achieve my language pack to be used? Shouldn't the fallback be on the main language part and thus fallback to de_DE anyway?
Hope anybody can help.
Решение
Servus :)
Have you installad a de_AT
language pack? If not, magento does not know to fall back to de_DE
, so just set this as you default locale.
If there is an austrian language pack, it shoul inherit from de_DE
... example here: Magento2: how override translates in language pack?