Skip to content

Convert xcloc into lproj translations

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

aonez/xcloc2lproj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.