Integrate PhraseApp Into Your IOS Translation Workflow

Today we looked out for a nice tool to improve our translation workflow for an iOS app.

In the past we made good experiences with PhraseApp for our Symfony2 app (seethis post). So we decided to try it for iOS development. As it turned out it works like a charm with iOS Localizable Strings as well.

Our Workflow

  1. Engineers add new translations keys to the code

    We run a script that uses to generate the strings from the source code
  2. We push the new strings as Base locale to PhraseApp
  3. The translators get notified about the new strings and can translate them in the PhraseApp backend
  4. We pull the translated strings from PhraseApp and all new translation keys are translated

Step-By-Step Tutorial

  1. Sign up at PhraseApp, create your project and remember your auth token
  2. Install the phrase gem

    Go to your project dir and init phrase
  3. Push your existing Localizable.strings files to PhraseApp to automatically create the languages
  4. Create a small script (e.g. Resources/Scripts/UpdateTranslations.sh) that generates strings for your new translation keys from source, pushes them to PhraseApp and pulls back the translated strings
  5. Set the script to be executable

    Whenever you want to update your translation keys, run the script

  6. Done


Also published on Medium.

Comments