Package Data | |
---|---|
Maintainer Username: | ajaaleixo |
Maintainer Contact: | ajaaleixo@gmail.com (André Aleixo) |
Package Create Date: | 2017-03-16 |
Package Last Update: | 2020-02-11 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-15 03:02:04 |
Package Statistics | |
---|---|
Total Downloads: | 16,279 |
Monthly Downloads: | 3 |
Daily Downloads: | 0 |
Total Stars: | 5 |
Total Watchers: | 4 |
Total Forks: | 1 |
Total Open Issues: | 2 |
Supports L5.4
This package offers you a way of downloading translated keys from https://phraseapp.com. This translation tool supports tagging which is used to separate your key set.
Fetched the configured list of Locales per Tag from your PhraseApp.com and creates one file per Tag under you resources/lang/locale/ directory.
+PhraseApp - Suggestion of usage+
When importing/inserting new keys, I suggest to use tags as API accept it as filter option.
Open your config/app.php and insert the following in providers key:
Ajaaleixo\PhraseApp\PhraseAppServiceProvider::class,
Open your config/filesystems.php and insert the following code:
'disks' => [
(...)
'lang' => [
'driver' => 'local',
'root' => resource_path('lang'),
],
]
php artisan vendor:publish --provider="Ajaaleixo\PhraseApp\PhraseAppServiceProvider"
Open config/laravel-phraseapp.php
and create each .env
key and edit the following: