asgard/translation

v0.3.1 2016-05-13 11:31 UTC

This package is not auto-updated.

Last update: 2024-03-20 05:24:26 UTC


README

#Translation

The Asgard Translation package helps you export and import translations.

##Installation

composer require asgard/translation 0.*

##Commands

###Export CSV Export new translations to a CSV file, along with original translations.

Usage:

php console translation:export-csv [srcLocale] [dstLocale] [file]

###Import CSV Import new translations from a CSV file and export them yo YAML.

Usage:

php console translation:import [src] [dst]

###Export YAML Export new translations to a YAML file.

Usage:

php console translation:export-yaml [dstLocale] [dst]

##Contributing

Please submit all issues and pull requests to the asgardphp/asgard repository.

License

The Asgard framework is open-sourced software licensed under the MIT license