martian

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2021 License: MIT Imports: 1 Imported by: 0

README

Stationeers localication tools

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL