On Tue, 6 May 2025 07:52:10 +0200 Quentin Cosendey wrote:
QC> Given that Arabic is written from right to left, do I have to do
QC> something special in the code to support that ?
You need to set the locale correctly. Just using wxUILocale should work if
the system is using Arabic.
QC> I assume that everything should be more or less reversed on the screen ?
QC> Texts aligned left should be aligned right ? Scrollbars should be on the
QC> left instead of on the right ? etc.
Yes.
QC> Does Windows and/or WXWidgets do all that automatically for me, or do I
QC> need to handle it manually ? What should I do specifically ?
It's supposed to be handled automatically, but there may be bugs because
this is not that well-tested. In fact, I'd be surprised if you don't run
into any bugs... But the only way to know for sure is to try it and wait
for your users bug reports!
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/