A simple generator of swift files from a given localized POeditor strings file.
POEditor-Parser is available through Mint
To install it, simply add the following line to your Mintfile:
masmovil/poeditor-parser-swift@v2.0.3/bin/poe $APITOKEN $PROJECTID $LANGUAGE
--apitoken- The POEditor API token--projectid- The id of the project in POEditor--projectlanguage- The language code in POEditor--onlygenerate[default: false] ---swiftfile[default: Sources/Literals.swift] - The output Swift file directory.--stringsfile[default: Sources/Localizable.strings] - The output Strings file directory.--typename[default: Literals] - The type name that store all localized vars--tablename- The tableName value for NSLocalizedString--outputformat[default: Struct] - The output format for swift file (enum or struct)--keysformat[default: UpperCamelCase] - The format for the localized key
Run poe help for more info
POEditor-Parser is available under the Apache 2.0. See the LICENSE file for more info.
If you want a similar solution for your Android projects, check this out: poeditor-android-gradle-plugin