Ignoring keys
apiKey: <API_KEY>
projectType: <PROJECT_TYPE>
ignoredKeys:
- "HEY"
- "PLEASE"
- "DO NOT IGNORE ME"
- ":("
Custom search directory
If you would like to search translation keys in some specific path you can achieve this by adding searchDir property, and the path where CLI should search for the keys.
apiKey: <API_KEY>
projectType: <YOUR_PROJECT_TYPE>
searchDir: /Users/jpomykala/Workspace/MyProject
Please pay attention to what you are putting in the searchDir
property. Use a specific path for your project as CLI will go through all files from given path to find the keys - giving a root path may cause high CPU and disc usage.
Configuration profiles
If you would like to use simplelocalize.yml from custom location or with custom name like simplelocalize-dev.yml file, you can achieve that easily by passing path as the first argument.
$ curl -s https://get.simplelocalize.io | bash -s /tmp/simplelocalize-dev.yml