New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

admica/trans-files

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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.

Source
Packagist
Version
dev-master
Version published
Total downloads
3
Maintainers
1
Created
Source

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

  • 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.

Keywords

language

FAQs

Package last updated on 16 Jan 2021

Related posts