Skip to content

Commit

Permalink
#2106 Added missing languages, initial localization.csv file
Browse files Browse the repository at this point in the history
  • Loading branch information
Wotuu committed Mar 13, 2024
1 parent bd752d0 commit a164bed
Show file tree
Hide file tree
Showing 640 changed files with 7,574 additions and 7,580 deletions.
4 changes: 2 additions & 2 deletions .env.docker.example
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ INFLUXDB_PASSWORD=
INFLUXDB_SSL=
INFLUXDB_VERIFYSSL=false
INFLUXDB_TIMEOUT=0
INFLUXDB_UDP_ENABLED=false # Activate UDP
INFLUXDB_UDP_PORT=4444 # Port for UDP
INFLUXDB_UDP_ENABLED=false# Activate UDP
INFLUXDB_UDP_PORT=4444# Port for UDP

BROADCAST_DRIVER=redis
CACHE_DRIVER=redis
Expand Down
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ INFLUXDB_PASSWORD=
INFLUXDB_SSL=
INFLUXDB_VERIFYSSL=false
INFLUXDB_TIMEOUT=0
INFLUXDB_UDP_ENABLED=false # Activate UDP
INFLUXDB_UDP_PORT=4444 # Port for UDP
INFLUXDB_UDP_ENABLED=false# Activate UDP
INFLUXDB_UDP_PORT=4444# Port for UDP

BROADCAST_DRIVER=redis
CACHE_DRIVER=redis
Expand Down
112 changes: 56 additions & 56 deletions config/language.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
*/

// Only allow DE when debugging, it's still WIP
'allowed' => env('APP_DEBUG') ? ['en-US', 'de-DE', 'ru-RU', 'ho-HO'] : ['en-US', 'ru-RU'],
'allowed' => env('APP_DEBUG') ? ['en_US', 'de_DE', 'ru_RU', 'ho_HO'] : ['en_US', 'ru_RU'],

/*
|--------------------------------------------------------------------------
Expand All @@ -152,60 +152,60 @@
*/

'all' => [
['short' => 'ar', 'long' => 'ar-SA', 'english' => 'Arabic', 'native' => 'العربية'],
['short' => 'bg', 'long' => 'bg-BG', 'english' => 'Bulgarian', 'native' => 'български'],
['short' => 'bn', 'long' => 'bn-BD', 'english' => 'Bengali', 'native' => 'বাংলা'],
['short' => 'cn', 'long' => 'zh-CN', 'english' => 'Chinese (S)', 'native' => '简体中文'],
['short' => 'cs', 'long' => 'cs-CZ', 'english' => 'Czech', 'native' => 'Čeština'],
['short' => 'da', 'long' => 'da-DK', 'english' => 'Danish', 'native' => 'Dansk'],
['short' => 'de', 'long' => 'de-DE', 'english' => 'German', 'native' => 'Deutsch'],
['short' => 'de', 'long' => 'de-AT', 'english' => 'Austrian', 'native' => 'Österreichisches Deutsch'],
['short' => 'fi', 'long' => 'fi-FI', 'english' => 'Finnish', 'native' => 'Suomi'],
['short' => 'fr', 'long' => 'fr-FR', 'english' => 'French', 'native' => 'Français'],
['short' => 'el', 'long' => 'el-GR', 'english' => 'Greek', 'native' => 'Ελληνικά'],
['short' => 'en', 'long' => 'en-AU', 'english' => 'English (AU)', 'native' => 'English (AU)'],
['short' => 'en', 'long' => 'en-CA', 'english' => 'English (CA)', 'native' => 'English (CA)'],
['short' => 'en', 'long' => 'en-GB', 'english' => 'English (GB)', 'native' => 'English (GB)'],
['short' => 'en', 'long' => 'en-US', 'english' => 'English (US)', 'native' => 'English (US)'],
['short' => 'es', 'long' => 'es-ES', 'english' => 'Spanish', 'native' => 'Español'],
['short' => 'et', 'long' => 'et-EE', 'english' => 'Estonian', 'native' => 'Eesti'],
['short' => 'he', 'long' => 'he-IL', 'english' => 'Hebrew', 'native' => 'עִבְרִית'],
['short' => 'hi', 'long' => 'hi-IN', 'english' => 'Hindi', 'native' => 'हिन्दी'],
['short' => 'ho', 'long' => 'ho-HO', 'english' => 'Hodor', 'native' => 'Hodor'],
['short' => 'hr', 'long' => 'hr-HR', 'english' => 'Croatian', 'native' => 'Hrvatski'],
['short' => 'hu', 'long' => 'hu-HU', 'english' => 'Hungarian', 'native' => 'Magyar'],
['short' => 'hy', 'long' => 'hy-AM', 'english' => 'Armenian', 'native' => 'Հայերեն'],
['short' => 'id', 'long' => 'id-ID', 'english' => 'Indonesian', 'native' => 'Bahasa Indonesia'],
['short' => 'it', 'long' => 'it-IT', 'english' => 'Italian', 'native' => 'Italiano'],
['short' => 'ir', 'long' => 'fa-IR', 'english' => 'Persian', 'native' => 'فارسی'],
['short' => 'jp', 'long' => 'ja-JP', 'english' => 'Japanese', 'native' => '日本語'],
['short' => 'ka', 'long' => 'ka-GE', 'english' => 'Georgian', 'native' => 'ქართული'],
['short' => 'ko', 'long' => 'ko-KR', 'english' => 'Korean', 'native' => '한국어'],
['short' => 'lt', 'long' => 'lt-LT', 'english' => 'Lithuanian', 'native' => 'Lietuvių'],
['short' => 'lv', 'long' => 'lv-LV', 'english' => 'Latvian', 'native' => 'Latviešu valoda'],
['short' => 'mk', 'long' => 'mk-MK', 'english' => 'Macedonian', 'native' => 'Македонски јазик'],
['short' => 'ms', 'long' => 'ms-MY', 'english' => 'Malay', 'native' => 'Bahasa Melayu'],
['short' => 'mx', 'long' => 'es-MX', 'english' => 'Mexico', 'native' => 'Español de México'],
['short' => 'nb', 'long' => 'nb-NO', 'english' => 'Norwegian', 'native' => 'Norsk Bokmål'],
['short' => 'ne', 'long' => 'ne-NP', 'english' => 'Nepali', 'native' => 'नेपाली'],
['short' => 'nl', 'long' => 'nl-NL', 'english' => 'Dutch', 'native' => 'Nederlands'],
['short' => 'pl', 'long' => 'pl-PL', 'english' => 'Polish', 'native' => 'Polski'],
['short' => 'pt-BR', 'long' => 'pt-BR', 'english' => 'Brazilian', 'native' => 'Português do Brasil'],
['short' => 'pt', 'long' => 'pt-PT', 'english' => 'Portuguese', 'native' => 'Português'],
['short' => 'ro', 'long' => 'ro-RO', 'english' => 'Romanian', 'native' => 'Română'],
['short' => 'ru', 'long' => 'ru-RU', 'english' => 'Russian', 'native' => 'Русский'],
['short' => 'sr', 'long' => 'sr-RS', 'english' => 'Serbian (Cyrillic)', 'native' => 'Српски језик'],
['short' => 'sr', 'long' => 'sr-CS', 'english' => 'Serbian (Latin)', 'native' => 'Српски језик'],
['short' => 'sq', 'long' => 'sq-AL', 'english' => 'Albanian', 'native' => 'Shqip'],
['short' => 'sk', 'long' => 'sk-SK', 'english' => 'Slovak', 'native' => 'Slovenčina'],
['short' => 'sl', 'long' => 'sl-SL', 'english' => 'Slovenian', 'native' => 'Slovenščina'],
['short' => 'sv', 'long' => 'sv-SE', 'english' => 'Swedish', 'native' => 'Svenska'],
['short' => 'th', 'long' => 'th-TH', 'english' => 'Thai', 'native' => 'ไทย'],
['short' => 'tr', 'long' => 'tr-TR', 'english' => 'Turkish', 'native' => 'Türkçe'],
['short' => 'tw', 'long' => 'zh-TW', 'english' => 'Chinese (T)', 'native' => '繁體中文'],
['short' => 'uk', 'long' => 'uk-UA', 'english' => 'Ukrainian', 'native' => 'Українська'],
['short' => 'ur', 'long' => 'ur-PK', 'english' => 'Urdu (Pakistan)', 'native' => 'اردو'],
['short' => 'uz', 'long' => 'uz-UZ', 'english' => 'Uzbek', 'native' => "O'zbek"],
['short' => 'vi', 'long' => 'vi-VN', 'english' => 'Vietnamese', 'native' => 'Tiếng Việt'],
['short' => 'ar', 'long' => 'ar_SA', 'english' => 'Arabic', 'native' => 'العربية'],
['short' => 'bg', 'long' => 'bg_BG', 'english' => 'Bulgarian', 'native' => 'български'],
['short' => 'bn', 'long' => 'bn_BD', 'english' => 'Bengali', 'native' => 'বাংলা'],
['short' => 'cn', 'long' => 'zh_CN', 'english' => 'Chinese (S)', 'native' => '简体中文'],
['short' => 'cs', 'long' => 'cs_CZ', 'english' => 'Czech', 'native' => 'Čeština'],
['short' => 'da', 'long' => 'da_DK', 'english' => 'Danish', 'native' => 'Dansk'],
['short' => 'de', 'long' => 'de_DE', 'english' => 'German', 'native' => 'Deutsch'],
['short' => 'de', 'long' => 'de_AT', 'english' => 'Austrian', 'native' => 'Österreichisches Deutsch'],
['short' => 'fi', 'long' => 'fi_FI', 'english' => 'Finnish', 'native' => 'Suomi'],
['short' => 'fr', 'long' => 'fr_FR', 'english' => 'French', 'native' => 'Français'],
['short' => 'el', 'long' => 'el_GR', 'english' => 'Greek', 'native' => 'Ελληνικά'],
['short' => 'en', 'long' => 'en_AU', 'english' => 'English (AU)', 'native' => 'English (AU)'],
['short' => 'en', 'long' => 'en_CA', 'english' => 'English (CA)', 'native' => 'English (CA)'],
['short' => 'en', 'long' => 'en_GB', 'english' => 'English (GB)', 'native' => 'English (GB)'],
['short' => 'en', 'long' => 'en_US', 'english' => 'English (US)', 'native' => 'English (US)'],
['short' => 'es', 'long' => 'es_ES', 'english' => 'Spanish', 'native' => 'Español'],
['short' => 'et', 'long' => 'et_EE', 'english' => 'Estonian', 'native' => 'Eesti'],
['short' => 'he', 'long' => 'he_IL', 'english' => 'Hebrew', 'native' => 'עִבְרִית'],
['short' => 'hi', 'long' => 'hi_IN', 'english' => 'Hindi', 'native' => 'हिन्दी'],
['short' => 'ho', 'long' => 'ho_HO', 'english' => 'Hodor', 'native' => 'Hodor'],
['short' => 'hr', 'long' => 'hr_HR', 'english' => 'Croatian', 'native' => 'Hrvatski'],
['short' => 'hu', 'long' => 'hu_HU', 'english' => 'Hungarian', 'native' => 'Magyar'],
['short' => 'hy', 'long' => 'hy_AM', 'english' => 'Armenian', 'native' => 'Հայերեն'],
['short' => 'id', 'long' => 'id_ID', 'english' => 'Indonesian', 'native' => 'Bahasa Indonesia'],
['short' => 'it', 'long' => 'it_IT', 'english' => 'Italian', 'native' => 'Italiano'],
['short' => 'ir', 'long' => 'fa_IR', 'english' => 'Persian', 'native' => 'فارسی'],
['short' => 'jp', 'long' => 'ja_JP', 'english' => 'Japanese', 'native' => '日本語'],
['short' => 'ka', 'long' => 'ka_GE', 'english' => 'Georgian', 'native' => 'ქართული'],
['short' => 'ko', 'long' => 'ko_KR', 'english' => 'Korean', 'native' => '한국어'],
['short' => 'lt', 'long' => 'lt_LT', 'english' => 'Lithuanian', 'native' => 'Lietuvių'],
['short' => 'lv', 'long' => 'lv_LV', 'english' => 'Latvian', 'native' => 'Latviešu valoda'],
['short' => 'mk', 'long' => 'mk_MK', 'english' => 'Macedonian', 'native' => 'Македонски јазик'],
['short' => 'ms', 'long' => 'ms_MY', 'english' => 'Malay', 'native' => 'Bahasa Melayu'],
['short' => 'mx', 'long' => 'es_MX', 'english' => 'Mexico', 'native' => 'Español de México'],
['short' => 'nb', 'long' => 'nb_NO', 'english' => 'Norwegian', 'native' => 'Norsk Bokmål'],
['short' => 'ne', 'long' => 'ne_NP', 'english' => 'Nepali', 'native' => 'नेपाली'],
['short' => 'nl', 'long' => 'nl_NL', 'english' => 'Dutch', 'native' => 'Nederlands'],
['short' => 'pl', 'long' => 'pl_PL', 'english' => 'Polish', 'native' => 'Polski'],
['short' => 'pt_BR', 'long' => 'pt_BR', 'english' => 'Brazilian', 'native' => 'Português do Brasil'],
['short' => 'pt', 'long' => 'pt_PT', 'english' => 'Portuguese', 'native' => 'Português'],
['short' => 'ro', 'long' => 'ro_RO', 'english' => 'Romanian', 'native' => 'Română'],
['short' => 'ru', 'long' => 'ru_RU', 'english' => 'Russian', 'native' => 'Русский'],
['short' => 'sr', 'long' => 'sr_RS', 'english' => 'Serbian (Cyrillic)', 'native' => 'Српски језик'],
['short' => 'sr', 'long' => 'sr_CS', 'english' => 'Serbian (Latin)', 'native' => 'Српски језик'],
['short' => 'sq', 'long' => 'sq_AL', 'english' => 'Albanian', 'native' => 'Shqip'],
['short' => 'sk', 'long' => 'sk_SK', 'english' => 'Slovak', 'native' => 'Slovenčina'],
['short' => 'sl', 'long' => 'sl_SL', 'english' => 'Slovenian', 'native' => 'Slovenščina'],
['short' => 'sv', 'long' => 'sv_SE', 'english' => 'Swedish', 'native' => 'Svenska'],
['short' => 'th', 'long' => 'th_TH', 'english' => 'Thai', 'native' => 'ไทย'],
['short' => 'tr', 'long' => 'tr_TR', 'english' => 'Turkish', 'native' => 'Türkçe'],
['short' => 'tw', 'long' => 'zh_TW', 'english' => 'Chinese (T)', 'native' => '繁體中文'],
['short' => 'uk', 'long' => 'uk_UA', 'english' => 'Ukrainian', 'native' => 'Українська'],
['short' => 'ur', 'long' => 'ur_PK', 'english' => 'Urdu (Pakistan)', 'native' => 'اردو'],
['short' => 'uz', 'long' => 'uz_UZ', 'english' => 'Uzbek', 'native' => "O'zbek"],
['short' => 'vi', 'long' => 'vi_VN', 'english' => 'Vietnamese', 'native' => 'Tiếng Việt'],
],
];
3 changes: 2 additions & 1 deletion config/larex.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@
| The source language is the language used as the base for the translation.
| This value is used by the "larex:import" command to set the first language column in the CSV file.
|
| Wotuu: HERE IT WANTS DASHES BUT IT EXPORTS IT AS UNDERSCORES, YOU TELL ME MAN
*/

'source_language' => 'en',
'source_language' => 'en-US',
];
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php /** @noinspection SqlResolve */

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
DB::update('
UPDATE `users` SET `locale` = REPLACE(`locale`, "-", "_")
');
}

/**
* Reverse the migrations.
*/
public function down(): void
{
DB::update('
UPDATE `users` SET `locale` = REPLACE(`locale`, "_", "-")
');
}
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 0 additions & 19 deletions lang/en-US/auth.php

This file was deleted.

17 changes: 0 additions & 17 deletions lang/en-US/classes.php

This file was deleted.

Loading

0 comments on commit a164bed

Please sign in to comment.