An open API service indexing awesome lists of open source software.

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

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.