3 ms·
Question to any gitea devs/users: How can I get rid of the (terrible) i18n?? I'm trying out the app but it's complete gibberish! It appears to do some kind of U
by alkonaut 10y ago
Question to any gitea devs/users: How can I get rid of the (terrible) i18n?? I'm trying out the app but it's complete gibberish! It appears to do some kind of User Agent detected i18n - (which by the way an app should never do imho).
I just want english so I can have some kind of understanding of what I'm doing but I can't find the setting either in my user profile nor in the app configuration.
- PascalW 10y agoI haven't tried but I think you might be able to add this to your config to fix that: [i18n] LANGS = en-US NAMES = English https://gogs.io/docs/features/i18n https://gogs.io/docs/features/i18n Edit: tried and indeed it seems to work.
- bkcsoft 10y agoIt 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/ef57533c3b0fc2d8581deda14937e52f11a203ab/i18n.go https://github.com/go-macaron/i18n/blob/ef57533c3b0fc2d8581d... [2] https://www.w3.org/International/questions/qa-accept-lang-locales https://www.w3.org/International/questions/qa-accept-lang-lo...