Skip to content

Adding translations for apps

Adding translations for apps

Adding snippets to the administration works the same way for plugins and apps. The only difference is the file structure and that apps are not allowed to override existing snippet keys. The only thing to do, therefore, is to create new files in the following directory: <app root>/Resources/app/administration/snippet Additionally, you need JSON files for each language you want to support, using the respective language locale (e.g., de.json, en.json). You can also include patch files for dialects, such as en-US.json, to provide country-specific translations.

For more details on selecting a fallback language and structuring your snippet files, see the Fallback Languages guide.

Since everything else works the same, please refer to our Adding translations for plugins guide for more information.