diff options
author | Miquel Lionel <lionelmiquel@sfr.fr> | 2021-02-11 12:19:43 +0100 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2021-02-11 12:19:43 +0100 |
commit | 13f5e3696f3798d6069d27e67e91e90f6ec3e105 (patch) | |
tree | d3739ed44eb01a4497ff8056d1e4b09b5fa79524 /LICENSE | |
parent | 10f7d14b51ab09aa8641605245e5eb576b29bb46 (diff) | |
download | honk_custom-13f5e3696f3798d6069d27e67e91e90f6ec3e105.tar.gz honk_custom-13f5e3696f3798d6069d27e67e91e90f6ec3e105.zip |
bloated and incomplete i18n implementation
- everything depends on the 'lang' cookie value
- basic check if it's a 2 character long letter code
- you use it in the views/*.html like the following :
{{ i18n.Home }} will display the translation of "home"
in the language decided by the lang cookie.
- i still need to update the account.html view lol
- if the cookie value is not recognized, defaults to english
translation.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions