🇪🇺anyone here? :)🇪🇺

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

  • @[email protected]
    link
    fedilink
    English
    1
    edit-2
    4 hours ago

    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.

    • 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
            14 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.

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

              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?

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

              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

                • Blaze (he/him)
                  link
                  fedilink
                  English
                  11 hour ago

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

                  • @[email protected]
                    link
                    fedilink
                    English
                    149 minutes ago

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