mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-19 12:47:20 +02: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()
|
public function handle()
|
||||||
{
|
{
|
||||||
$locales = ['de', 'es'];
|
$locales = config('app.supported_locales');
|
||||||
$sourceLocale = 'en';
|
$sourceLocale = 'en';
|
||||||
|
|
||||||
foreach ($locales as $locale) {
|
foreach ($locales as $locale) {
|
||||||
|
@ -2,6 +2,17 @@
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Officially supported languages
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Officially supported languages moderated by volunteer translators.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'supported_locales' => env('LOCALES', ['de', 'es', 'pt', 'zh', 'ms']),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Application Name
|
| Application Name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user