https://github.com/aonez/xcloc2lproj
Convert xcloc into lproj translations
https://github.com/aonez/xcloc2lproj
bsd gpl lproj macos swift translation xcloc xcode
Last synced: 12 months ago
JSON representation
Convert xcloc into lproj translations
- Host: GitHub
- URL: https://github.com/aonez/xcloc2lproj
- Owner: aonez
- License: other
- Created: 2023-09-16T18:16:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-16T18:32:11.000Z (over 2 years ago)
- Last Synced: 2025-02-03T11:51:08.107Z (about 1 year ago)
- Topics: bsd, gpl, lproj, macos, swift, translation, xcloc, xcode
- Language: Swift
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
## xcloc2lproj
A macOS commandline utility for parsing `xcloc` translation files into `lproj` translation strings.
```
Usage: xcloc2lproj [...]
Options:
-d path Parse all xcloc files found in `path`
-o output_file Output file, default is the current path
-exclude-id id Exclude translation units that their id match the `id` string
-exclude-file file Exclude origin strings files that match the `file` path
-x Do not create paths, only strings files
-lproj Append .lproj extension to the language folder
-q Be quiet
```
This project was made for in-house use, so it might be messy. Enhance it at your will, pull request are very welcome.
All the code is Swift and under the BSD or GPL licenses. Copyright © aone. All rights reserved.