Menu

RTL (like Arabic language) support

2007-12-05
2013-04-24
  • Nobody/Anonymous

    Thinwire is very advanced framwork to develop enterprise application. I need the support/feature to develop application to get input and display output in Arabic language which will be read from Right to Left. Can you please help me how to do it with Thinwire.

     
    • Nobody/Anonymous

      Don't think its supported yet.

       
    • Joshua Gertzen

      Joshua Gertzen - 2007-12-08

      Ok, here's the thing.  ThinWire renders everything in UTF-8 unicode, so as far as I know, you should be able to display arabic text within a Label, Tree, Menu, etc.  The problem that you may run into is that some components don't properly calculate their internal sizes based on the size of the text being displayed, therefore, if their is an odd-sized character in the language, the character or phrase containing the character may be cut off.  Additionally, there are some internationalization issues with the editMask feature of mask editor components and there are some issues with the DateBox, which currently displays a U.S. centric calendar.  However, in general, you should be able to display arabic just fine.  The only thing you may need to do is set the AlignX propery of Label, TextField, etc, to "AlignX.RIGHT", which should present the text in a rigth-to-left manner.

      In any case, please let us know what kind of success you have and let us know what problems you run into.

      -Josh <G>

       
    • Nobody/Anonymous

      Thank you very much Josh. I saw one more post also today in Help and Support forum for the same thing. It seems people in Middle East Asia started looking into Thinwire. Am really so happy in seeing your support in this. As am a VB programmer, initially it is bit difficult for me to do encoding and setting the text direction, etc. Still am confused, how to set the text direction. May be I have to try with the Font property in TextField and other controls.

      Thanks a lot. If you can add this sort of topic in detail in your book, I think from Middle East, people will benefit a lot.

      Seeni

       
    • Nobody/Anonymous

      Hi Josh,

      The environment am developing the application with Tomcat, MySql and IE. It displays the Arabic text in boxes and question marks initially. But I have to check the configuration of the Tomcat and MySql once again for UTF8. Meanwhile can you please help me to set the direction for IE as Right to Left. You can see the difference of Right to Left if you run the demo of Playground by clicking the View->Encoding->Right to Left. The components aligned as Right to Left and the scroll bars are aligned at right side. But every time I need to set it manually. How can I set the direction for browser as Right to Left programatically in Thinwire?

      Thanks,
      Seeni

       
    • Nobody/Anonymous

      Another issue I found that the key navigation is working only Left to Right. How to set the key navigation Right to Left? That means, when I press Tab key, it should focus on the next item on Left direction.

      Thanks
      Seeni

       

Log in to post a comment.

MongoDB Logo MongoDB