🇪🇺anyone here? :)🇪🇺

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

  • Blaze (he/him)
    link
    fedilink
    English
    24 hours ago

    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]
      link
      fedilink
      English
      14 hours ago

      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”.

      • Blaze (he/him)
        link
        fedilink
        English
        34 hours ago

        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]
          link
          fedilink
          English
          13 hours ago

          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.