Skip to content

Commit 1a16ee7

Browse files
authored
Add a section for getCurrentLocaleNative() (#789)
I think this method is really important and should not be missing in the helpers section.
1 parent 2aebc55 commit 1a16ee7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,13 @@ Return current locale's name as string (English/Spanish/Arabic/ ..etc).
289289
{{ LaravelLocalization::getCurrentLocaleName() }}
290290
```
291291

292+
### Get Current Locale Native Name
293+
Return current locale's native name as string (English/Español/عربى/ ..etc).
294+
295+
```php
296+
{{ LaravelLocalization::getCurrentLocaleNative() }}
297+
```
298+
292299
### Get Current Locale Direction
293300

294301
Return current locale's direction as string (ltr/rtl).

0 commit comments

Comments
 (0)