diff --git a/config/lang-detector.php b/config/lang-detector.php index e9ec7a2f6ff..94a421fd091 100644 --- a/config/lang-detector.php +++ b/config/lang-detector.php @@ -36,6 +36,7 @@ 'es', 'fr', 'he', + 'id', 'it', 'nl', 'sv', diff --git a/resources/js/pluralization.js b/resources/js/pluralization.js index 72e97ad2477..25538562a78 100644 --- a/resources/js/pluralization.js +++ b/resources/js/pluralization.js @@ -42,6 +42,7 @@ export default { 'fr': pluralB, 'he': pluralF, 'hr': pluralD, + 'id': pluralA, 'ja': pluralA, 'ru': pluralD, 'tr': pluralA, diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index 1c6cc8af9a3..684123ed104 100644 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -86,6 +86,7 @@ 'locale_fr' => 'French', 'locale_he' => 'Hebrew', 'locale_hr' => 'Croatian', + 'locale_id' => 'Indonesian', 'locale_it' => 'Italian', 'locale_ja' => 'Japanese', 'locale_nl' => 'Dutch', diff --git a/tests/Unit/Helpers/CountryHelperTest.php b/tests/Unit/Helpers/CountryHelperTest.php index 4a4dc73a467..996705987c4 100644 --- a/tests/Unit/Helpers/CountryHelperTest.php +++ b/tests/Unit/Helpers/CountryHelperTest.php @@ -42,7 +42,7 @@ public function countryDefaultCountryFromLocaleProvider() ['pt', 'PT'], ['ru', 'RU'], ['tr', 'TR'], - ['jp', null], + ['ja', null], ]; } @@ -74,6 +74,7 @@ public function countryCountryFromLocaleProvider() ['es', 'ES'], ['fr', 'FR'], ['hr', 'HR'], + ['id', 'ID'], ['it', 'IT'], ['nl', 'NL'], ['pt', 'PT'], diff --git a/webpack.mix.js b/webpack.mix.js index 656aa01b7c8..f37ac8f532b 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -14,6 +14,7 @@ mix.webpackConfig({ 'es', 'fr', 'he', + 'id', 'it', 'nl', 'sv',