Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
stefro committed Jun 21, 2024
1 parent 93fc2ff commit bb2f926
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@

![laravel-langcountry.png](/docs/public/laravel-langcountry.png)

# TLDR;

Laravel has great localisation functionality, but it is all based on the locale. The locale only refers to a language,
not a country. This package adds the ability to localize based on the country.
**Why?** Mainly because dates dates can be pronounced the same in a language, but be formatted differently in different
countries.
The package also adds more convenience functions to get localized country names, currency symbols and more.

# Have you ever...

* had the problem that you needed a date format had to be localized?
Expand Down
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
![laravel-langcountry.png](./public/laravel-langcountry.png)

# TLDR;

Laravel has great localisation functionality, but it is all based on the locale. The locale only refers to a language,
not a country. This package adds the ability to localize based on the country.
**Why?** Mainly because dates dates can be pronounced the same in a language, but be formatted differently in different
countries.
The package also adds more convenience functions to get localized country names, currency symbols and more.

## Introduction

::: warning Highlights
Expand Down

0 comments on commit bb2f926

Please sign in to comment.