mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 12:00:50 +01:00
Officially supported languages
Officially supported languages moderated by volunteer translators.
This commit is contained in:
parent
1875ab0eb6
commit
61f5eb6072
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user