Skip to content

Commit

Permalink
Add a section for getCurrentLocaleNative() (mcamara#789)
Browse files Browse the repository at this point in the history
I think this method is really important and should not be missing in the helpers section.
  • Loading branch information
mikewink authored Jul 8, 2021
1 parent 2aebc55 commit 1a16ee7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,13 @@ Return current locale's name as string (English/Spanish/Arabic/ ..etc).
{{ LaravelLocalization::getCurrentLocaleName() }}
```

### Get Current Locale Native Name
Return current locale's native name as string (English/Español/عربى/ ..etc).

```php
{{ LaravelLocalization::getCurrentLocaleNative() }}
```

### Get Current Locale Direction

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

0 comments on commit 1a16ee7

Please sign in to comment.