Skip to content

Commit

Permalink
Merge pull request #5 from ShaungBhone/my-transalation-contribution
Browse files Browse the repository at this point in the history
add Burmese translation
  • Loading branch information
3x1io authored Apr 4, 2022
2 parents 8a3d132 + 9ff361d commit 50ce213
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down
1 change: 1 addition & 0 deletions config/filament-translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"en" => "English",
"ar" => "Arabic",
"pt_BR" => "Português (Brasil)",
"my" => "Burmese"
],

/*
Expand Down
6 changes: 6 additions & 0 deletions resources/lang/my/global.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
"created_at" => "တည်ဆောက်သောနေ့",
"updated_at" => "ပြုပြင်သောနေ့",
];
18 changes: 18 additions & 0 deletions resources/lang/my/translation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

return [
"title" => "ဘာသာစကား",
"label" => "ဘာသာစကား",
"group" => "အုပ်စု",
"key" => "အဓိကသော့ချက်",
"text" => "စာသား",
"scan" => "ဘာသာစကားအသစ်",
"namespace" => "Namespace",
"notification" => "ဘာသာစကားပြောင်းပြီးပါပြီ",
"loaded" => "ဘာသာစကား များကိုပြုပြင်ပြီးပါပြီ",
"menu" => "ဘာသာစကားပြောင်းပါ",
"modal" => [
"heading" => "ဘာသာစကားပြောင်းပါ",
"button" => "ပြောင်းပါ",
]
];

0 comments on commit 50ce213

Please sign in to comment.