Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
stefro authored Oct 27, 2023
1 parent 122980b commit 89921e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage/language-switcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ preference of this user to the database.
## Create a language selector

It's really easy to create a language selector! You can use `LangCountry::langSelectorHelper()`.
TThe output will be based on the `allowed` list of your config file. It will return an array with the following example:
The output will be based on the `allowed` list of your config file. It will return an array with the following example:

``` php
Array
Expand Down Expand Up @@ -95,7 +95,7 @@ Array
[country_name] => United States of America
[country_name_local] => America
[lang] => en
[name] => Amreican English
[name] => American English
[lang_country] => en-US
[emoji_flag] => 🇺🇸
[currency_code] => USD
Expand All @@ -108,7 +108,7 @@ Array
)
```

With this array you're able to create a dynamic language/country switcher like this in your own frontend framework of
With this array, you're able to create a dynamic language/country switcher like this in your own frontend framework of
choice.

![lang-switcher.png](/public/lang-switcher.png)
Expand Down

0 comments on commit 89921e4

Please sign in to comment.