this post was submitted on 05 Mar 2025
26 points (84.2% liked)

BuyFromEU

1228 readers
576 users here now

Welcome to BuyFromEU - A community dedicated to supporting European-made goods and services!

We also invite you to subscribe to:

Logo generated with mistral le chat Banner by Christian Lue on unsplash.com

founded 2 weeks ago
MODERATORS
26
hello world (lemm.ee)
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]
 

πŸ‡ͺπŸ‡Ίanyone here? :)πŸ‡ͺπŸ‡Ί

EDIT: posts didnt show up so thats why i asked. also comments here dont either.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 day ago (1 children)
[–] [email protected] 1 points 10 hours ago* (last edited 10 hours ago) (1 children)

You mean this one? It is included, but only has an effect if the instance has site languages configured. lemm.ee has all languages enabled, so new users should also have all languages enabled by default. I tested this just now and it works fine.

The other thing is that Lemmy uses languages from Accept-Language HTTP header combined with site languages. If the instance has all languages enabled and the user has an Accept header with German, he will only see German posts.

[–] [email protected] 2 points 10 hours ago (1 children)

You mean this one?

Yes

I tested this just now and it works fine.

Interesting, just to make sure, did you try to create a new user, or just used an existing lemm.ee alt?

The only other thing is that Lemmy uses languages from Accept-Language HTTP header. If that contains for example German but not English, then the user will only see German posts.

Where does this header come from?

[–] [email protected] 1 points 10 hours ago (1 children)

I tested the code locally.

The accept-language header is sent automatically by the browser. You can configure it in the settings, eg in Firefox "Choose your preferred language for displaying pages".

[–] [email protected] 3 points 10 hours ago (1 children)

Hm, maybe something else happens in the account creation. I created a post on [email protected], let's see

preferred language

Ah, so that might be where the issue comes from? Isn't that a bit risky to only have let's say, users with Firefox setup in German to only see German posts on Lemmy, while most of them probably speak English as well?

[–] [email protected] 1 points 10 hours ago (3 children)

That is true, but Im not sure what would be a better solution. Show a language selector on the registration page? That would make registration even more complicated, and someone needs to implement it. Or prompt the user to change languages after signup? Again someone needs to implement it. Enable English by default for all new users? That would be easy, but there are also people who dont understand English.

[–] [email protected] 2 points 10 hours ago (1 children)

Maybe leave the language configuration to the servers, and drop the browsers settings?

That way generalist instances like lemm.ee could have all of them enabled, and for instance Jlai.lu could have only French, English and Undetermined selected?

[–] [email protected] 1 points 9 hours ago (1 children)

Also, I just checked on my account here on dbzer0 running 0.19.9, but it seems I can't just show all languages when only selecting "Undetermined" as it used to be?

Now only selecting Undetermined seems to hide all the other languages

[–] [email protected] 2 points 8 hours ago (1 children)

That wasnt changed, to see all languages you have to enable everything (Ctrl+A).

[–] [email protected] 1 points 8 hours ago (1 children)

Hm. Wasn't there a time when new joiners could just see every language by default? I think I remember that

[–] [email protected] 1 points 7 hours ago (1 children)

Ah right in the past new users always had all languages enabled. But the way languages work after being enabled/disabled hasnt changed.

[–] [email protected] 2 points 7 hours ago

Ah, that makes sense.