Translation CDN

How to use the CDN to serve your translations

This feature is currently supported only for apps using gt-next or gt-react.

Overview

When you translate your gt-next or gt-react app, we automatically serve your translations from our CDN.

In production, gt-next and gt-react will lazy-load these translations from the CDN if your users request your app in a different language. This means you can internationalise your app without having to worry about latency or bundle size for your users.

With 300+ edge nodes worldwide, our CDN ensures your users will always experience the lowest possible latency when viewing your app in a different language.

How to use

By default, translations are automatically published to the CDN whenever you run gtx-cli translate. However, you can disable this if needed.

  1. Go to the project settings page.
  2. Toggle the "Publish to CDN" switch.
  3. Re-run the gtx-cli translate command.

If you disable the CDN, make sure you've set up your app to use local translations: gt-next or gt-react

How is this guide?

On this page

Translation CDN