blog.kulman.sk/checking-for-missing-translations-in-ios

Preview meta tags from the blog.kulman.sk website.

Linked Hostnames

6

Thumbnail

Search Engine Appearance

Google

https://blog.kulman.sk/checking-for-missing-translations-in-ios

Checking for missing translations in iOS projects

When you work on an iOS app localized into multiple languages one of the biggest challenges is making sure that everything is translated, no string is missing in any language. Xcode does not provide any tool to make this easier for you, but there are some 3rd party tools that you can integrate into your workflow. verify-string-files I have recently found a quite old project called verify-string-files. It is a command line tool take takes you base localization file and compares it to all the translations, informing you about missing strings. Altough the last commit to this project was way back in 2014 it still works reliably, there have not been any changes to the way iOS does localization. The best thing about this tool is that you can integrate it to your build process. Build process integration The tool is available only as source code, so you have to build it first. I put the built binary to a support folder of my projects. Then I have a Build-Phases folder with all the script used in the build process. I think it is a much better solution than embedding the script right into the Xcode project. To integrate verify-string-files you just need a really simple script, providing the path to the base localization file ${PROJECT_DIR}/support/verify-string-files -master ${SRCROOT}/iOSSampleApp/Resources/Base.lproj/Localizable.strings In Xcode, just add a new Run scrip phase and call $SRCROOT/Build-Phases/check-strings where check-strings is the script name. Just do not forget to chmod +x the actual file. This will result in build errors when there are missing string, shown directly in the base localization file



Bing

Checking for missing translations in iOS projects

https://blog.kulman.sk/checking-for-missing-translations-in-ios

When you work on an iOS app localized into multiple languages one of the biggest challenges is making sure that everything is translated, no string is missing in any language. Xcode does not provide any tool to make this easier for you, but there are some 3rd party tools that you can integrate into your workflow. verify-string-files I have recently found a quite old project called verify-string-files. It is a command line tool take takes you base localization file and compares it to all the translations, informing you about missing strings. Altough the last commit to this project was way back in 2014 it still works reliably, there have not been any changes to the way iOS does localization. The best thing about this tool is that you can integrate it to your build process. Build process integration The tool is available only as source code, so you have to build it first. I put the built binary to a support folder of my projects. Then I have a Build-Phases folder with all the script used in the build process. I think it is a much better solution than embedding the script right into the Xcode project. To integrate verify-string-files you just need a really simple script, providing the path to the base localization file ${PROJECT_DIR}/support/verify-string-files -master ${SRCROOT}/iOSSampleApp/Resources/Base.lproj/Localizable.strings In Xcode, just add a new Run scrip phase and call $SRCROOT/Build-Phases/check-strings where check-strings is the script name. Just do not forget to chmod +x the actual file. This will result in build errors when there are missing string, shown directly in the base localization file



DuckDuckGo

https://blog.kulman.sk/checking-for-missing-translations-in-ios

Checking for missing translations in iOS projects

When you work on an iOS app localized into multiple languages one of the biggest challenges is making sure that everything is translated, no string is missing in any language. Xcode does not provide any tool to make this easier for you, but there are some 3rd party tools that you can integrate into your workflow. verify-string-files I have recently found a quite old project called verify-string-files. It is a command line tool take takes you base localization file and compares it to all the translations, informing you about missing strings. Altough the last commit to this project was way back in 2014 it still works reliably, there have not been any changes to the way iOS does localization. The best thing about this tool is that you can integrate it to your build process. Build process integration The tool is available only as source code, so you have to build it first. I put the built binary to a support folder of my projects. Then I have a Build-Phases folder with all the script used in the build process. I think it is a much better solution than embedding the script right into the Xcode project. To integrate verify-string-files you just need a really simple script, providing the path to the base localization file ${PROJECT_DIR}/support/verify-string-files -master ${SRCROOT}/iOSSampleApp/Resources/Base.lproj/Localizable.strings In Xcode, just add a new Run scrip phase and call $SRCROOT/Build-Phases/check-strings where check-strings is the script name. Just do not forget to chmod +x the actual file. This will result in build errors when there are missing string, shown directly in the base localization file

  • General Meta Tags

    11
    • title
      Checking for missing translations in iOS projects - Igor Kulman
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge
    • viewport
      width=device-width, initial-scale=1, shrink-to-fit=no
    • theme-color
  • Open Graph Meta Tags

    5
    • og:title
      Checking for missing translations in iOS projects
    • og:description
      When you work on an iOS app localized into multiple languages one of the biggest challenges is making sure that everything is translated, no string is missing in any language. Xcode does not provide any tool to make this easier for you, but there are some 3rd party tools that you can integrate into your workflow.
    • og:type
      article
    • og:url
      https://blog.kulman.sk/checking-for-missing-translations-in-ios/
    • og:image
      https://blog.kulman.sk/images/verify-string-files-error.png
  • Twitter Meta Tags

    4
    • twitter:card
      summary_large_image
    • twitter:image
      https://blog.kulman.sk/images/verify-string-files-error.png
    • twitter:title
      Checking for missing translations in iOS projects
    • twitter:description
      When you work on an iOS app localized into multiple languages one of the biggest challenges is making sure that everything is translated, no string is missing in any language. Xcode does not provide any tool to make this easier for you, but there are some 3rd party tools that you can integrate into your workflow.
  • Item Prop Meta Tags

    7
    • name
      Checking for missing translations in iOS projects
    • description
      When you work on an iOS app localized into multiple languages one of the biggest challenges is making sure that everything is translated, no string is missing in any language. Xcode does not provide any tool to make this easier for you, but there are some 3rd party tools that you can integrate into your workflow.
    • datePublished
      2018-10-10T08:29:12+01:00
    • dateModified
      2018-10-10T08:29:12+01:00
    • wordCount
      353
  • Link Tags

    10
    • apple-touch-icon
      https://blog.kulman.sk/apple-touch-icon.png
    • canonical
      https://blog.kulman.sk/checking-for-missing-translations-in-ios/
    • icon
      https://blog.kulman.sk/favicon.ico
    • preload
      https://blog.kulman.sk/theme.png
    • preload
      https://blog.kulman.sk/images/avatar.jpg

Links

26