2017 © Pedro Peláez
 

library po-translation

CLI client to translate .po files

image

antongorodezkiy/po-translation

CLI client to translate .po files

  • Friday, May 27, 2016
  • by antongorodezkiy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

po-translation

Translation .po (gettext) files via Command Line Interface (CLI) with Yandex Translator API, (*1)

Requirements

  • PHP 5.4+

Yandex Translator

This package is using Yandex Translator API https://translate.yandex.com and you'll need to obtain Yandex Translator API key (free on a moment of develop this package) - Get API Key, (*2)

Dependencies

Usage

Run php trans via CLI interface from the package dir., (*3)

Help

php trans -h

Options

$ php trans -h

PO Translator (using Yandex Translator https://translate.yandex.com )
Flags
  --help, -h  Show this help screen

Options
  --api-key   Yandex API key
  --src-po    source .po-file path
  --src-lang  source language [default: en]

Example

php trans --api-key trnsl.1.1.20162d0a.34add747dc2e2e2f --src-po /home/user/public_html/wp-content/themes/some-theme/languages/uk_UA.po

antongorodezkiy, 2016, (*4)

License

MIT, (*5)

The Versions

27/05 2016

dev-master

9999999-dev

CLI client to translate .po files

  Sources   Download

MIT

The Requires

 

by Eduard Kozachek