Adding New Translations
SynaptikCMS is delivered out-of-the-box with 3 locales: English, French and Spanish.
You can easily add new languages to your SynaptikCMS installation by translating a couple of files.
To do this:
- Open the
/lang/folder. It contains both the front-end and the admin translations. If you are looking to translate the backend, open/lang/admin/. - Duplicate one of the languages and rename it to the new locale you want to add. For example, duplicate
en.jsonand call itko.jsonfor Korean localization. - Translate the strings.
- Place the new translation in the appropriate folder (
/lang/for front-end strings or/lang/admin/for back-end strings). - Go to Settings > General and select your new locale from the dropdown.
- That's it, you have effectively translated your CMS!
Info: the front-end locales includes the translation of the URL slugs. If you have translated those slugs in your localization, you will need to update the hyperlinks in your content and custom menu to ensure they don't lead to a 404.
Coming Soon A new feature is coming soon! You will be able to update existing translations or create new locales, directly from the admin.
With this new built-in feature, you will be able to customize your admin or your front-end interface's text without touching a single line of code.
Contribute
If you would like to contribute to SynaptikCMS' improvement and share your translations, please visit the discussions page on GitHub and submit your translation.
