"Text Direction: Right to Left Text"

Legacy User
Legacy User New Altair Community Member
edited November 5 in Community Q&A
Hello everybody,


I am trying to translate Operator's Info to persian text, So i need to change the text direction to right to left. I tried adding <div style="direction:RTL"> text </div> to text but seems like it does not understand this. Can you please let me know if you encountered this issue before?



Cheers,
Naz

Answers

  • Legacy User
    Legacy User New Altair Community Member
    Fixed.


    description.setComponentOrientation(getComponentOrientation().RIGHT_TO_LEFT);


  • fischer
    fischer New Altair Community Member
    Rapid Miner 5.0 will have internationalization support using the regular Java I18N API, so that will become much easier. So long, your workaround will do the job.

    Cheers,
    Simon