Skip to main content

Log in to comment and vote

Comments23

  • Yash Singh

    TeamPinned

    We just shipped RTL support to t3.chat! If you have any feedback or suggestions, please reply to this message

    • Blue Brownie

      Thanks, it works great in Arabic, but is broken in Hebrew:

      • Yash Singh

        Team

        Woah, it was definitely not looking like that locally, will investigate.

        • Blue Brownie

          Been there, said that 🤣🤣🤣

          • Yash Singh

            Team

            Fix should be up now!

            • Blue Brownie

              Looks great, thanks

        • Blue Brownie

          Additionally, there is a bug where right when the comment is posted, it has a single like

          • Yash Singh

            Team

            That is a Featurebase thing, they automatically self-like

        • Yash Singh

          Team

          Okay it seems like it breaks when threads have rtl text in them.

  • Chocolate Melon

    here is how to do it:
    ```
    text-align: start; /* will align to the right when the direction is right */
    unicode-bidi: plaintext
    ```
    and add to the html tag: dir=”auto” (really. no other way without using JS to auto align base on the content)

    test case:

    in this line the “!” should be at the left
    שלום לכולם!

    in this line the “שלום” should be on the right and the “?” on the left
    שלום T3 הכל בסדר?

    @Theo Browne

  • Purple Teacup

    Hebrew too

  • Brown Meteorite

    •

    Merged request

    Support RTL output based on language context

    In the images:

    Me asking for a list of countries in Israel from T3.chat and ChatGPT

    notice that the ChatGPT output is right to left based on the language that he speaks

    RTL Support could be great for Hebrew & Arabic users

    • Yellow Flamingo

      I think that can be implemented by asking model to write `<ltr> text </ltr>` and parsing this tag in markdown

    • Bronze Mist

      This sounds wonderful! also just keeping in mind that just changing the alignment when the lang is rtl isn’t enough mostly, if this ever goes into prod(And I really hope it will) the test it self need to have a rtl direction property to fix the placement of char’s like ! ? , and more :)

  • Amaranth Cherry

    yes, Arabic appears from LTR, while it should be RTL.