Crowdin SKD consente di consegnare le nuove traduzioni dal progetto di Crowdin alla tua applicazione immediatamente. Using integration with Crowdin SDK there will be no need to update the application in Google Play Store every time there is a new localization version.
L’integrazione fornisce:
Requirements to integrate Android application with a project in Crowdin:
Strumento di Sviluppo
Linguaggio di Programmazione App
Configure the distribution to mirror the translated content of your project and integrate with Android app. Read more about Distributions.
Per ulteriori dettagli su come configurare Crowdin SDK per la tua applicazione visita la nostra repository GitHub.
Richiesto per tutte le funzioni | |
hash_tua_distribuzione | Unique hash, which you can get by going to Settings > Content Delivery. To see the distribution hash, click ![]() |
Richiesto per le funzioni avanzate | |
source_language | Source language of your Crowdin project (e.g., "en"). |
client_id client_secret | Credenziali di autorizzazione Crowdin. Open the project and go to Settings > Content Delivery. In the For Mobile Applications section, click Get Credentials. |
Opzionale | |
network_type | Tipo di rete da usare. Puoi selezionare NetworkType.ALL, NetworkType.CELLULAR, o NetworkType.WIFI |
interval_in_milisec | Aggiorna intervalli in millisecondi |
Puoi impostare i modelli di esportazione del file e controllare quelli esistenti usando Impostazioni File. I seguenti segnaposto sono supportati per l’integrazione Android:
Nome | Descrizione |
---|---|
%language% | Language name (e.g., Ukrainian) |
%two_letters_code% | Language code ISO 639-1 (e.g., uk) |
%three_letters_code% | Language code ISO 639-2/T (e.g., ukr) |
%locale% | Locale (e.g., uk-UA) |
%locale_with_underscore% | Locale (e.g., uk_UA) |
%android_code% | Identificatore Locale Android usato per denominare le directory "values-" |
Crowdin Android SDK CDN feature is built with security in mind, which means minimal access possible from the end-user is required. When you decide to use Crowdin Android SDK, please make sure you’ve made the following information accessible to your end-users.
Q: What might cause the occasional delay in getting the latest translations in the app? A: CDN caches all the translations in release for up to 15 minutes. When new translations are released in Crowdin, CDN may still return them with a delay.