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.
dev-master
2021-01-16 04:37 UTC
Requires
- php: >7.0.1
- illuminate/console: >=5.1
- illuminate/support: ^5.5|^6|^7|^8
- illuminate/translation: 5.5.x|5.6.x|5.7.x|5.8.x|6.x|7.*
- stichoza/google-translate-php: dev-master
This package is auto-updated.
Last update: 2025-02-16 13:37:23 UTC
README
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
- validate languages input (main-language and translation-language)
- making path property to allow user to choose a path to translate from
- adding except property
- adding other translation methods ( like google translation api ) or azure translation
- finding other ideas to put in todo list.