Replace cookie by local storage to store language
This commit is contained in:
parent
8286cdd41d
commit
41ef9fd49f
5 changed files with 10 additions and 34 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
In the translations folder, all json files of the form [namespace].[language code].json are interpreted to create languages by the language code in the file name.
|
||||
|
||||
The only mandatory file that is the entry point is the index.[language code].json which must contain the properties language, country and default so that the language can be taken into account.
|
||||
The only mandatory file (the entry point) is the `index.[language code].json` which must contain the properties language, country and default so that the language can be taken into account.
|
||||
|
||||
Example:
|
||||
```json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue