Officially supported languages

Officially supported languages moderated by volunteer translators.
This commit is contained in:
Julian Prieber 2023-06-13 16:16:29 +02:00
parent 1875ab0eb6
commit 61f5eb6072
2 changed files with 12 additions and 1 deletions

View File

@ -319,7 +319,7 @@ class Translate extends Command
public function handle()
{
$locales = ['de', 'es'];
$locales = config('app.supported_locales');
$sourceLocale = 'en';
foreach ($locales as $locale) {

View File

@ -2,6 +2,17 @@
return [
/*
|--------------------------------------------------------------------------
| Officially supported languages
|--------------------------------------------------------------------------
|
| Officially supported languages moderated by volunteer translators.
|
*/
'supported_locales' => env('LOCALES', ['de', 'es', 'pt', 'zh', 'ms']),
/*
|--------------------------------------------------------------------------
| Application Name