Consegna dei Contenuti

Distribution is a CDN vault that mirrors your project’s translated content and is required for integration with the iOS, Android, or Web apps.

Configurazione Distribuzione

To configure a distribution, follow these steps:

  1. Apri il tuo progetto e vai a Integrazioni > Consegna dei Contenuti. Consegna Contenuto Over-the-Air

  2. Add new distribution using the Add Distribution button. Seleziona solo i file, le traduzioni che vuoi siano mostrate nella tua applicazione, e clicca Crea.
    Over-the-Air Content Delivery

  3. Copy the distribution hash so you can use it for integration. Over-the-Air Content Delivery

  4. Сreate as many distributions as you need and select different files for each. You’ll need to click Release next to the needed distribution every time you want to send new translations to the app. Consegna Contenuto Over-the-Air

Nota: CDN salva nella cache tutte le traduzioni in rilascio fino per fino a 1 ora, e anche quando le nuove traduzioni sono rilasciate in Crowdin Imprese, CDN potrebbe restituirle con un ritardo.

For Mobile Applications

To send the translated content to your mobile apps via content delivery, use the Crowdin SDKs:

For Web Applications

To send the translated content to your web apps via content delivery, use the Crowdin OTA JavaScript client.

Read more about Crowdin OTA JavaScript client.

To manage the translated content delivery to your web apps manually, use the following instructions:

Form the URL to the translation file the following way:

https://distributions.crowdin.net/{distribution_hash}/content/{path_to_file}

{path_to_file} will be the same as for the regular translation build. If your files don’t have export patterns with the language code placeholders (e.g., %locale%, %two_letters_code%, etc.), the system will automatically add the Crowdin language code at the beginning of the path.

You can find the list of your project language codes in the meta-information about your distribution content:

https://distributions.crowdin.net/{distribution_hash}/manifest.json

Questo articolo è stato utile?