NMLocalize 0.0.6

NMLocalize 0.0.6

LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jun 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Nicolas Mahé.

  • By
  • Nicolas Mahé


[![CI Status](http://img.shields.io/travis/Nicolas Mahé/NMLocalize.svg?style=flat)](https://travis-ci.org/Nicolas Mahé/NMLocalize)


To run the example project, clone the repo, and run pod install from the Example directory first.



NMLocalize is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NMLocalize"

Extract Localizable String from swift files

To extract localizable string (eg: L("your_localizable_string")) from all your swift files, you can use the ExtractLocalizableString.exec bin from this repo.


$ ExtractLocalizableString.exec arg1 arg2 (arg3) (arg4)

Arg1 - Project path

Argi1 is the path to the project where the swift file are. Be carefull to put an / at the end of the path.

Arg2 - Localizable file

Argi2 is the path to the localizable file.

Arg3 - Default string (Optional)

Argi3 is optional and force the value of new Localizable string

Arg4 - Should remove unused string (Optional)

Argi4 is optional and indicate if unused strings should be remove. should be a bool


$ ExtractLocalizableString.exec /path/to/your/project/ /path/to/your/project/fr.lproj/Localizable.strings TO_TRANSLATE true


Nicolas Mahé, [email protected]


NMLocalize is available under the MIT license. See the LICENSE file for more info.