Documentation section

Localazy CDN

Learn how to use Localazy CDN to deliver translations to your users.

What is CDN? 🔗

Our CDN allows you to use translated files directly. Our CDN runs on reliable and fast Amazon S3 and CloudFront, and you can rely on it with your production website/app.

Just get the link, and you won’t have to worry about updates of translations.

CDN is a part of our Online Services and it’s pricing is usage based.

Metafiles 🔗

Along with your translated files, the so-called metafiles are also available through the CDN - you can get it in JSON, Javascript, or Typescript.

Metafiles contain additional information that can help you, e.g., make the language selector completely manageable from within Localazy.

From the metafile, you can get:

  • filename and path for each of the files
  • all languages for each of the files, including:
    • locale code
    • English and localized name
    • URL to CDN for each of the languages
    • function for resolving plural form (in JS/TS file)

Metafile, e.g. for JavaScript can look like this:

const localazyMetadata = {
  "projectUrl": "",
  "baseLocale": "en",
  "files": {
    "f7c17299cdf3c25566850c9f12e1884f52ac237a": {
      "file": "file.ts",
      "path": "src/modules/guided-tours/tours/add-language-tour/locale",
      "library": "",
      "module": "",
      "buildType": "",
      "productFlavors": [ ],
      "locales": [
          "language": "en",
          "region": "",
          "script": "",
          "isRtl": false,
          "name": "English",
          "localizedName": "English",
          "uri": "/_a816546212130918361adf3ad9/_e0/f7c17299cdf3c25566850c9f12e1884f52ac237a/en/file.ts",
          "plural": (n) => { return (n===1) ? "one" : "other"; }
          "language": "cs",
          "region": "",
          "script": "",
          "isRtl": false,
          "name": "Czech",
          "localizedName": "Čeština",
          "uri": "/_a816546212130918361adf3ad9/_e0/f7c17299cdf3c25566850c9f12e1884f52ac237a/cs/file.ts",
          "plural": (n) => { return (n===1) ? "one" : (n>=2 && n<=4) ? "few" : "other"; }

export default localazyMetadata;

Combine with Release Tags 🔗

Our localization CDN works smoothly with Release Tags add-on, so you link to tagged versions of your files and so be sure that recent changes are not going to break your website/app.

Just publish the tag, and it’s available quickly on the CDN too!

Navigate to your app in Localazy and select File management from the side menu. Click on the three dots menu of the file for which you want to get the CDN links. Here you can copy the .zip URL or URL for one of your languages.

CDN link in Localazy UI

Learn how to get CDN links through CLI commands in the CLI documentation article.

Pricing 🔗

The Pricing for CDN is usage based and in order to use the CDN, you have to top-up your credits for Online Services in the Marketplace.

Volume Price/Unit
1GB $0.5
1000 requests $0.005