iOS SDK

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 the App Store every time there is a new localization version.

L’integrazione fornisce:

  • Consegna Contenuto Sull’Aria - i file localizzati possono essere inviati all’applicazione dal progetto ogni volta che sia necessario.
  • Real-Time Preview – all the translations that are done in the Editor can be shown in your version of the application in real-time. View the translations already made and the ones you’re currently typing in.
  • Screenshot - tutti gli screenshot fatti nell’applicazione possono essere automaticamente inviati al tuo progetto di Crowdin con stringhe d’origine taggate.

Requisiti

Requisiti per integrare un’applicazione iOS con un progetto in Crowdin:

Strumento di Sviluppo

  • Versione Xcode 10.2+

Linguaggio di Programmazione App

  • Versione Swift 4.2+

Sistema Operativo

  • versione iOS 9.0+

Distribuzioni e Release

Configure the distribution to mirror the translated content of your project and integrate with iOS app. Read more about Distributions.

Installazione Crowdin SDK, Configurazione e Funzioni Avanzate

Per ulteriori dettagli su come configurare Crowdin SKD per la tua applicazione visita la nostra repository GitHub.

Parametri

Richiesto per tutte le funzioni
hash_tua_distribuzioneUnique hash, which you can get by going to Projects Settings > Content Delivery. To see the distribution hash, click on the needed distribution, select Edit and copy distribution hash.
localizzazioni Target languages of your Crowdin project (e.g., ‘fr’, ‘el’). Formato: osx_locale.
source_languageSource language of your Crowdin project (e.g., "en"). Formato: osx_locale.
Richiesto per le funzioni avanzate
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.
your_organization_domainThis field is not used for the Crowdin project.

Modelli di Esportazione File

Puoi impostare i modelli di esportazione del file e controllare quelli esistenti usando Impostazioni File. The following placeholders are supported for iOS integration:

Nome Descrizione
%language% Language name (e.g., Ukrainian)
%locale% Locale (e.g., uk-UA)
%locale_with_underscore% Locale (e.g., uk_UA)
%osx_code% L'identificatore locale OS X usato per rinominare le directory ".lproj"
%osx_locale% OS X locale used to name translation resources (e.g., uk, zh-Hans, zh_HK)

Sicurezza

Crowdin iOS 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 iOS SDK, please make sure you’ve made the following information accessible to your end-users.

  • We use the advantages of Amazon Web Services (AWS) for our computing infrastructure. AWS ha la certificazione ISO 27001 ed ha completato molti controlli SSAE 16. AWS ha la certificazione ISO 27001 ed ha completato molti controlli SSAE 16.
  • When you use Crowdin iOS SDK CDN – translations are uploaded to Amazon CloudFront to be delivered to the app and speed up the download. Keep in mind that your users download translations without any additional authentication.
  • We use encryption to keep your data private while in transit.
  • We do not store any Personally Identifiable Information (PII) about the end-user, but you can decide to develop the opt-out option inside your application to make sure your users have full control.
  • The Automatic Screenshots and Real-Time Preview features are supposed to be used by the development team and translators team. Those features should not be compiled to the production version of your app. Therefore, they should not affect end-users privacy in any way.

Q&A

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.

Questo articolo è stato utile?