LaravelPackages.net
Acme Inc.
Toggle sidebar
admica/trans-files

You can translate your resources/lang files and folders with command lines using google translate, this may save lots of your time if you are working on multilanguage website.

3
3
About admica/trans-files

admica/trans-files is a Laravel package for you can translate your resources/lang files and folders with command lines using google translate, this may save lots of your time if you are working on multilanguage website.. It currently has 3 GitHub stars and 3 downloads on Packagist. Install it with composer require admica/trans-files. Discover more Laravel packages by admica or browse all Laravel packages to compare alternatives.

Last updated

laravel-google-translate-files

laravel-google-translate-files, is a laravel package that enable you to translate all of your resources/lang (files) via google translations.

this may help you if you work on non-native-content and you don't want to visit google translate every time you want to translate a word.

Dependencies

  • stichoza/google-translate-php

Installing

composer require admica/laravel-google-translate-files

usage

php artisan files:translate {main-language} {translation-language}

todo

  1. validate languages input (main-language and translation-language)
  2. making path property to allow user to choose a path to translate from
  3. adding except property
  4. adding other translation methods ( like google translation api ) or azure translation
  5. finding other ideas to put in todo list.

Star History Chart