command
module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Sep 18, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Tools that prepare localization resources.
Usage
# install
$ go get github.com/st-10n/martian
# prepare environment
$ mkdir locales
$ export INPUT_DIR=~/.local/share/Steam/steamapps/common/Stationeers/rocketstation_Data/StreamingAssets/Language/
# generate locales (--limit is optional param)
$ martian gen --input $INPUT_DIR -o locales --limit en,sk,ru,de
postfixes: [.xml _keys.xml _tips.xml]
Language: Russian
prefix: russian
code: RU
locale: ru
entries: 1641
Language: English
prefix: english
code: EN
locale: en
entries: 1651
Language: German
prefix: german
code: DE
locale: de
entries: 1553
Language: Slovak
prefix: slovak
code: SK
locale: sk
entries: 1266
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Package cli implements command line interface for martian.
|
Package cli implements command line interface for martian. |
Package resource implements utilities to generate po-files from language files and back.
|
Package resource implements utilities to generate po-files from language files and back. |
Click to show internal directories.
Click to hide internal directories.