Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add i18n'd html templates, newer patch for web.go | Miquel Lionel | 2021-02-17 | 1 | -153/+0 |
| | |||||
* | bloated and incomplete i18n implementation | Miquel Lionel | 2021-02-11 | 1 | -0/+153 |
- 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. |