Looking to hire Laravel developers? Try LaraJobs

laravel-translation-manager maintained by slaveofgod

Description
Manage Laravel Translations
Author
Last update
2022/12/05 06:52 (dev-dependabot/npm_and_yarn/src/Resources/public/decode-uri-component-0.2.2)
License
Downloads
7

Comments
comments powered by Disqus

Manage Laravel Translations

This is a package to manage Laravel translation files. It will change translation files with your changes. All changed files will be backuped before updated.

Installation

$ composer require slaveofgod/laravel-translation-manager dev-master
$ php artisan vendor:publish --tag=abtmPublishes --force

The package needs access to resources/lang to read/write

$ HTTPDUSER=$(ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1)
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX resources/lang
$ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX resources/lang