Translation in Zikula
Zikula uses the native Symfony translation system. Please refer to Symfony docs for more information about Symfony features.
From Symfony translator documentation:
Each time you create a new translation resource (or install a bundle that includes a translation resource), be sure to clear your cache so that Symfony can discover the new translation resources.
Translations are cached in
Let's look at a website with 3 languages:
en (strings are in
All languages are enabled but some translations are missing for some strings.
Normally it would show English as default because strings are in English.
The fallback locale is a feature that reads translator 'fallback' setting from config.yaml
and sets this as locale to show instead the one that is missing.
So when viewing a German site in Polish language and Polish translations are not complete
while the German is, it will show German translations instead. This will happen only
when translator fallback setting locale is set to
de. At the end there is always an English string.