lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

Lemmy is showing in a different language than my browser's and OS's

Open brunofin opened this issue 1 year ago • 3 comments

Found a bug? Please fill out the sections below. 👍

For backend issues, use lemmy

Issue Summary

Hello, for all Lemmy instances I visit, Lemmy loads in Portuguese. While I do speak Portuguese, it is not my operating system's language neither my browser's, and I cannot find a way to change it back to English.

Here's my Chrome's language settings:

image

Here's Windows 11's language settings:

image

And here's how I see Behaw for example:

image

I imagine playing around with the priorities would help as maybe setting a less-specific variation of english as the top language.

brunofin avatar Jun 12 '23 13:06 brunofin

Update: Setting English as the top language on Chrome did fix the issue, but it does seem not recognizing en-uk as a language and at least load any english could be an improvement over skipping to the next in the list (ie. not even Brazilian Portuguese was used that was higher up in the list, but European Portuguese instead).

image

brunofin avatar Jun 12 '23 13:06 brunofin

I experienced the same. Playing around with it, I can't figure out the exact pattern, but I have English (US, set as main Chrome Language), English, and Japanese.

If the order is

  1. English (US)
  2. Japanese
  3. English

Lemmy turns it into Japanese (expected is English (US) )

If the order is

  1. Japanese
  2. English (US)
  3. English

Lemmy still uses Japanese

If the order is

  1. English (US)
  2. English
  3. Japanese

It will use English. I would imagine it should always use either whatever is at the top, or whatever is set to the Chrome UI.

kennypu avatar Jun 13 '23 20:06 kennypu

Looking at the examples above, I guess it only knows what to do with "English", and not "English (US)" or "English (UK)" (or the respective language codes).

MaartenStaa avatar Jun 13 '23 20:06 MaartenStaa

same issue here, I have japanese input installed but my system language is set to english, my browser is sending Accept-Language: en-US,en;q=0.9,ja-JP;q=0.8,ja;q=0.7 but lemmy is choosing japanese.

ledlamp avatar Jun 15 '23 22:06 ledlamp

What is wrong with having an option in the footer or the user profile settings to set a preferred language?

IrealiTY avatar Jun 16 '23 09:06 IrealiTY

I'm on Android using Chrome, and had my language settings as follows:

  1. French (Swiss)
  2. English (UK)
  3. Greek Lemmy always displayed in Greek for me until I removed it from my languages list, at which point it began showing French as expected. Other mainstream versions of English and French above Greek did not change the language the UI appeared in.

haeilsey avatar Jun 16 '23 12:06 haeilsey

What is wrong with having an option in the footer or the user profile settings to set a preferred language?

it's hard to find it when you can't read anything, and a totally unnecessary inconvenience when the browser already said what language it wants; this is a bug.

there is a setting in user settings but this doesnt help unregistered visitors

ledlamp avatar Jun 16 '23 18:06 ledlamp

a totally unnecessary inconvenience when the browser already said what language it wants

Apart from the fact that this automatic selection very much does not work as it should, I don't see how offering an additional setting is an "unnecessary inconvenience", that's not a very user-friendly way of going about it. Also, I would like to be able to set this separately, there can be any number of reasons why you might want to be using a different language than set by the browser.

CSRavasio avatar Jun 20 '23 11:06 CSRavasio

that's not what i meant, you shouldn't have to set it because it should be already set to your preferred language.

the setting already exists.

ledlamp avatar Jun 20 '23 16:06 ledlamp

OK sorry if I have misunderstood you but where do I set this in my user account? Because I couldn't find it.

CSRavasio avatar Jun 20 '23 16:06 CSRavasio

image

as you can see it's kind of hard to find it with the wrong language...

ledlamp avatar Jun 20 '23 19:06 ledlamp