Better HN
topnewbestaskshowjobs
Log inSign up

bkcsoft

1 karma · joined Jan 2, 2017 (9y ago) · 2 submissions

Submissions

comment 9y ago · link · parent

When Gitea gets support for consuming OAuth2 this will be make possible

Tracking Issue is https://github.com/go-gitea/gitea/issues/26

comment 9y ago · link · parent

It is infact using `Accept-Language`-header and `lang`-cookie as seen in this[1] file on line 168, 184 and 196. This is according to W3C[2] a good starting point :)

[1] https://github.com/go-macaron/i18n/blob/ef57533c3b0fc2d8581d... [2] https://www.w3.org/International/questions/qa-accept-lang-lo...