From 211867e2eba0dc5b4bef1d53eded504ad67793bb Mon Sep 17 00:00:00 2001 From: Yutaka Kurosaki Date: Sun, 30 Nov 2025 12:54:14 +0900 Subject: [PATCH] Add 8 major languages (LTR only) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added languages: - pt-BR: Português (Brasil) - 250M+ speakers - ru: Русский - 260M+ speakers - uk: Українська - 40M+ speakers - it: Italiano - 67M speakers - hi: हिन्दी - 600M+ speakers - vi: Tiếng Việt - 95M speakers - tr: Türkçe - 80M speakers - pl: Polski - 45M speakers Total supported languages: 16 RTL languages (Arabic, Hebrew, etc.) excluded for now, as they require additional layout implementation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/app/Http/Middleware/SetLocale.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/app/Http/Middleware/SetLocale.php b/src/app/Http/Middleware/SetLocale.php index 2e01e58..0e9e35f 100644 --- a/src/app/Http/Middleware/SetLocale.php +++ b/src/app/Http/Middleware/SetLocale.php @@ -11,7 +11,7 @@ class SetLocale { /** - * Supported locales + * Supported locales (LTR languages only) */ public const SUPPORTED_LOCALES = [ 'en' => 'English', @@ -19,6 +19,14 @@ class SetLocale 'de' => 'Deutsch', 'fr' => 'Français', 'es' => 'Español', + 'pt-BR' => 'Português (Brasil)', + 'ru' => 'Русский', + 'uk' => 'Українська', + 'it' => 'Italiano', + 'hi' => 'हिन्दी', + 'vi' => 'Tiếng Việt', + 'tr' => 'Türkçe', + 'pl' => 'Polski', 'zh-CN' => '简体中文', 'zh-TW' => '繁體中文', 'ko' => '한국어',