There are several translation files in the repository, but the files used by the API or the management UI are automated using the translation tool. You only have to update the files under
There are separate files for frontend and backend, one for each language.
The master language is English (
Please create a request in the support forum: https://support.squidex.io
To update the translation for a language you have to do the following steps:
Fork the source code.
Edit the corresponding json files with an editor.
translate.sh file depending on your operation system.
Create a pull request.
As you can see the file executes the self developed translation tool which consist
dotnet run translate check-backend ..\..dotnet run translate check-frontend ..\..dotnet run translate gen-frontend ..\..dotnet run translate gen-backend ..\..
The first step is to compare the translation files. It will do the following things:
The translator tool will loop over all code files (
*.html, *.cshtml, *.cs, *.ts) to analyze which strings are not translated yet. You can try to fix these errors but it needs a lot of in-depth knowledge about the source code and architecture.
The translator tool will extract all used keys from the code files and compares the keys with the keys from the master language files and prints all keys that do not exist in the master language (missing keys) or exist in the master language file but not in the code files (unused keys). You can try to fix these errors, but it needs a lot of knowledge about the user experience.
The translator tool compare all the translation files for all other languages with the master language and output all keys that do not exist in language file (missing keys) or exist in the language file but not in the master language file (unused keys). Please try to fix all errors.
Key is missing: Get the English text from
frontend_en.json and translate the text to your language.
Key is unused: Just remove the label and the translation.
Sometimes the keys are renamed, but you it is easy to spot these cases when you see errors like this
Missing keys:* new_KEY1* new_KEY2Unused keys:* old_KEY1* old_KEY2
You can just fix all these errors by replacing the prefix
The translator tool will also create the final files. It will take all translations for for all languages and adds missing translations from the master language files.
The frontend files are also generated as json files under
The backend translations are generated as resx files under