translate

command module
v0.0.0-...-c0b4c34 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2014 License: MIT Imports: 10 Imported by: 0

README

Translate

A command line utility to translate Java ResourceBundle Properties Files with Google Translate.

Install

$ go get github.com/wmluke/translate

Usage

NAME:
   translate - translate a Java ResourceBundle Properties file with Google Translate

USAGE:
   translate [options] source_file target_file

VERSION:
   0.1.0

AUTHOR:
  Luke Bunselmeyer

OPTIONS:
   --source, -s 		source langauge code
   --target, -t 		target langauge code
   --key, -k 			Google translate API key [$GOOGLE_API_KEY]
   --help, -h			show help
   --generate-bash-completion
   --version, -v		print the version

License

MIT

Documentation

Overview

A command line utility to translate Java ResourceBundle Properties Files with Google Translate.

Note: Non-ascii unicode characters are escaped per http://docs.oracle.com/javase/7/docs/api/java/util/PropertyResourceBundle.html

Example

translate --source en --target de translations.properties translations_de.properties

References

Jump to

Keyboard shortcuts

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