Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 867 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 867 Bytes

xcloc2lproj

A macOS commandline utility for parsing xcloc translation files into lproj translation strings.

Usage: xcloc2lproj <options> [<xcloc_path>...]

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.