cenkbilgen/StringsCatalogKit
XCode Strings Catalog files
Getting Started
strings_catalog_tool simplifies working with Xcode Strings Catalog files by offering features such as listing language keys, displaying all available languages, and removing translations for a specific language.
Example Usage
To list all base language keys in your Strings Catalog, call:
strings_catalog_tool list_keysEnsure that the initial Strings Catalog file is added to your Xcode project. More details about Strings Catalogs can be found here.
By default, the tool operates on the Localizable.xcstrings file located in the path where the command is run.
Usage
OVERVIEW: A utility for examining and manipulating Xcode Strings Catalogs.
USAGE: strings_catalog_tool <subcommand>
OPTIONS:
--version Show the version.
-h, --help Show help information.
SUBCOMMANDS:
list_keys List all base language keys in the strings catalog.
list_languages Display all available languages in the catalog.
remove_language Remove all translations for a specified language code.
See 'strings_catalog_tool help <subcommand>' for detailed help.Building
- Run
swift build -c releaseto build thestrings_catalog_toolexecutable in./.build/release. - Copy the executable to a location in your
$PATHfor easy access.
Package Targets
This package includes two targets:
strings_catalog_tool: The command-line utility.StringsCatalogKit: A library shared with other tools liketranslate_strings.
Package Metadata
Repository: cenkbilgen/StringsCatalogKit
Stars: 1
Forks: 0
Open issues: 0
Default branch: main
Primary language: swift
License: AGPL-3.0
README: README.md