Learn how to generate multi-language images in seconds with Bannerly!See Bannerly.io

Translation hosting

Last modified: May 08, 2021Author: Jakub Pomykała

Host your translations as JSON files on our free of charge hosting with super-fast CDN access. It allows you to fetch translations from anywhere with lightning speed in JSON and use it without extra configuration in any project.

how translations hosting works

Every time you publish changes something magical is happening. SimpleLocalize puts the newest version of your translations from the web translation editor into our CDN in multiple formats with super-fast access speed!

How to publish translations

how to publish translations

Set up a default language

In order to always provide a translation for a language which is not yet fully translated, you can set up a default language. To set up a default language, head to the 'Languages' tab and click 'Edit' on the language which you want to set up as default. Then, check option 'Use as a default language' and click save. Re-deploy your translations using 'Publish' button to see the changes on the CDN.

How to access hosted translations

Access to the SimpleLocalize CDN does not require authorization. Thanks to that you can integrate it with your web application or any kind of application. Access to CDN content looks same like to a REST API.

GET Get all translations

https://cdn.simplelocalize.io/:projectToken/_latest/_index

GET Get translations by language key

https://cdn.simplelocalize.io/:projectToken/_latest/:languageKey

GET Get languages

https://cdn.simplelocalize.io/:projectToken/_latest/_languages

All available CDN endpoints can be found in 'Read translations' section.

How to revert translations to previous state?

Open the 'Rollbacks' tab and click 'Publish' on the version which you want to publish. You can also browse _index file for each version using the 'Browse' button.

translation rollback menu

Please notice that the 'Publish' button in the 'Rollbacks' tab will revert translations to the 'Latest' environment. If you want to push translations to the 'Production' environment, then please head to the 'Hosting' tab and use button 'Publish' to copy the 'Latest' environment to the 'Production'.

how to rollback translations

Resources: