Skip to content

ellipsesynergie/locale-to-yaml

Repository files navigation

Locale to Yaml

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This package provides artisan commands to export language files from PHP to Yaml. Then, import it back to PHP.

Install

Via Composer

$ composer require ellipsesynergie/locale-to-yaml

Usage

...

Laravel

First, add EllipseSynergie\LocaleToYaml\LocaleToYamlServiceProvider::class to providers of config file app.php.

Export

php artisan lang:export-to-yaml resources/lang/en/app.php

Import

php artisan lang:import-from-yaml resources/lang/en/app.yml resources/lang/en/app.php

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test tests/

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Export locale files to Yaml. Import it once translated.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages