• @TCB13
    link
    English
    4
    edit-2
    8 months ago

    This is great! Thank you for taking the time to make it so.

    Anyways, since you’re into fixing Lemmy, may I make a suggestion? What about a simple script to fix the language selector annoyance that plagues this platform?

    I’ve to choose the post language at every single post/comment I write. Since Lemmy developers seem to be inept when it comes to basic user friendliness maybe a script that selects “English” automatically would be appreciated.

    Seriously, this is bullshit and the person who designed this should have a few points removed from their social credit score. Wasn’t it obvious that a dropdown under settings to pick the default language was necessary? :P

    Even worse, when I edit a comment/post I suddenly have to pick the language again.

    Update: I just remembered that at some point I even filled this https://github.com/LemmyNet/lemmy-ui/issues/2317

    Thank you.

    • @[email protected]
      link
      fedilink
      48 months ago

      I really don’t get that either. They went to the trouble of adding a warning in settings, that deselecting undefined from shown languages will hide most content, but chose not to add an account level default language option.

    • afoutopatisaOP
      link
      2
      edit-2
      8 months ago

      This should be as easy as document.getElementsByClassName("form-select w-auto d-inline-block")[0].selectedIndex = 38, I gave it a try and works on console but can’t get it to select after DOM load. I’ll give it another try once I have the time and create a separate script as this is outside the scope of the original script ;)

      • @TCB13
        link
        English
        18 months ago

        Doesn’t seem to work on mine tho.

        Uncaught TypeError: Cannot set properties of undefined (setting 'selectedIndex')
            at :1:87