The purpose of this project is to help with managing Localized strings in a way that gives you safty and ease of use.
Simply run the application. The command line will prompt you for input.
Specify the source file
Specify the destination file
Specify the destination for the generated ResourceFile.swift
- Add new entry with auto gernerated key
- Add new entry with specified key
- Generate Resources
- Generate Strings
- Generate Strings Sorted by Value not Key
- Find Strings in file
auto generates a key based off of the string you entered by camelCaseing
the phrase and removeing spaces.
Adds that entry to the locolizable.strings
file.
lets you specify a key and value
Adds that entry to the locolizable.strings
file.
Creates the Resources.swift
based off of the contents of the locolizable.strings
file
Takes the source file specified and generates a new Localizable.stirngs
- by parsing the values for each entry.
- Auto generating a
camleCased
key - Adding a comment and the [key: value] to the
Localizable.stirngs
file.
This option takes your Localizable.Strings file and sorts it by the Value
of the entry
- Asks for the path to the file
- Parses the file for any Strings wrapped in the
"
Charicter - Generates an Entry into the
Resources.swift
enum
- Generates and sorts alphabetically an entry into the
Localizable.strings
file - Replaces the
String
with a referance to the Resource IER.newGeneratedKey
so you dont have to.
Inside the main project you can access locolized strings
like this
R.{stringInCammelCase}
EX: self.title = R.awesomeTitle
this will return a locolised version of "Awesome Title"