duycao2506 / ios_localizable_translator

Helper for localization in iOS application development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS Localizable Translator

Prerequisites

  • Python3

Installations & Usage

  • Clone this repo
git clone https://github.com/duycao2506/ios_localizable_translator.git
  • Run this script, because this script will recursively scan for swift files, so you just need to put the top-level folder as an parameter
python3 ios_localizable_strings.py <your-swift-file-containing-folder> --output <output-name-without-extension> --no-comments --locale-origin <src-lang-code> --locale-target <target-lang-code>

Credits and reference

Thanks for the base from konalexiou: https://github.com/konalexiou/ios_localizable_strings_finder

About

Helper for localization in iOS application development

License:MIT License


Languages

Language:Python 100.0%