https://github.com/hendriks73/extract-localization
Simple utility to extract localization strings from existing standard OS X apps like Calculator.
https://github.com/hendriks73/extract-localization
Last synced: 12 months ago
JSON representation
Simple utility to extract localization strings from existing standard OS X apps like Calculator.
- Host: GitHub
- URL: https://github.com/hendriks73/extract-localization
- Owner: hendriks73
- License: lgpl-2.1
- Created: 2015-03-03T20:20:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-25T10:45:06.000Z (about 11 years ago)
- Last Synced: 2025-02-22T05:25:26.655Z (over 1 year ago)
- Language: Java
- Size: 207 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
README.md
=========
Simple utility to extract localization strings from existing standard OS X apps like Calculator.
To extract strings from all installed applications in `/Application`
simply launch like this:
java -jar extract-localization-VERSION.jar
(replace `VERSION` with a valid value)
To launch just for some applications, add arguments like this:
java -jar extract-localization-VERSION.jar /Applications/Calendar.app /Applications/Calculator.app
(again, replace `VERSION` with a valid value)
To limit the emitted json files to reflect the values in
[this template](https://github.com/maremmle/localize-mainmenu/blob/master/languages/_template.json)
please add the command line flag `-f`.
The results are placed as `.json` files in a new directory called `localizations`.
Those files may be used as a starting point to create new language files for
[localize-mainmenu](https://github.com/maremmle/localize-mainmenu).
## Requirements
Requires Java 8.
Enjoy!