From 9ff361d3d7a7098d1c9c1b043fa90c447af46771 Mon Sep 17 00:00:00 2001 From: ShaungBhone Date: Mon, 4 Apr 2022 19:01:28 +0630 Subject: [PATCH] add Burmese transaltion --- README.md | 2 +- config/filament-translations.php | 1 + resources/lang/my/global.php | 6 ++++++ resources/lang/my/translation.php | 18 ++++++++++++++++++ 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 resources/lang/my/global.php create mode 100644 resources/lang/my/translation.php diff --git a/README.md b/README.md index fa4ad68..9624716 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Spatie\TranslationLoader\TranslationServiceProvider::class, ## Add Language Middleware -go to app/Http/Kernal.php and add new middleware to $middlewareGroups +go to app/Http/Kernel.php and add new middleware to $middlewareGroups ```php 'web' => [ diff --git a/config/filament-translations.php b/config/filament-translations.php index bcf30f4..3a95165 100644 --- a/config/filament-translations.php +++ b/config/filament-translations.php @@ -27,6 +27,7 @@ "en" => "English", "ar" => "Arabic", "pt_BR" => "Português (Brasil)", + "my" => "Burmese" ], /* diff --git a/resources/lang/my/global.php b/resources/lang/my/global.php new file mode 100644 index 0000000..c615014 --- /dev/null +++ b/resources/lang/my/global.php @@ -0,0 +1,6 @@ + "တည်ဆောက်သောနေ့", + "updated_at" => "ပြုပြင်သောနေ့", +]; diff --git a/resources/lang/my/translation.php b/resources/lang/my/translation.php new file mode 100644 index 0000000..763ab71 --- /dev/null +++ b/resources/lang/my/translation.php @@ -0,0 +1,18 @@ + "ဘာသာစကား", + "label" => "ဘာသာစကား", + "group" => "အုပ်စု", + "key" => "အဓိကသော့ချက်", + "text" => "စာသား", + "scan" => "ဘာသာစကားအသစ်", + "namespace" => "Namespace", + "notification" => "ဘာသာစကားပြောင်းပြီးပါပြီ", + "loaded" => "ဘာသာစကား များကိုပြုပြင်ပြီးပါပြီ", + "menu" => "ဘာသာစကားပြောင်းပါ", + "modal" => [ + "heading" => "ဘာသာစကားပြောင်းပါ", + "button" => "ပြောင်းပါ", + ] +];