Skip to content

Convert legacy strings files to xcstrings (String Catalog).

License

Notifications You must be signed in to change notification settings

cybozu/xcstrings-migrator

Repository files navigation

xcstrings-migrator

Convert legacy strings files to xcstrings (String Catalog). This tool can also revert xcstrings to legacy strings files.

Help

OVERVIEW: A tool to migrate the legacy strings file to xcstrings file.

USAGE: xcstrings-migrator <subcommand>

OPTIONS:
  --version               Show the version.
  -h, --help              Show help information.

SUBCOMMANDS:
  migrate (default)       Migrate legacy strings file to xcstrings file.
  revert                  Revert xcstrings file to legacy strings file.

  See 'xcstrings-migrator help <subcommand>' for detailed help.

Usage

Installation

git clone https://github.com/cybozu/xcstrings-migrator.git
cd xcstrings-migrator
swift build -c release
$ cp .build/release/xcstrings-migrator /usr/local/bin/xcstrings-migrator

Migrate

xcstrings-migrator -output-directory ~/result -path ~/original/en.lproj -path ~/original/ja.lproj

Revert

xcstrings-migrator revert -output-directory ~/result -path ~/Localizable.xcstrings

About

Convert legacy strings files to xcstrings (String Catalog).

Resources

License

Stars

Watchers

Forks

Languages