B
Byron
I'm making my first attempt at localizing a Windows Form application using
both an TLR and RTL language and I'm having some issues.
I created my form in the Default language (en-US), layed the controls out,
changed the language to ar-SA - an RTL language - and set the
RightToLeftLayout and RightToLeft to true for the form and RightToLeft to
true for the controls.
I also moved some controls from the right to the left side of the screen, so
the default an RTL language forms have a different layout.
When I run the application, starting it in the default LTR language, and
change the culture while it is running, my comboboxes change from LTR to RTL,
but the controls I moved in the RTL versions of the form do not switch. When
I change back to the LTR language there is no layout change, though the text
correctly changes back to the default language when I use ApplyResources().
Is there something else I need to do to switch back to LTR layout? Why
aren't my controls changing location as they should when I switch cultures?
The two language-specific forms looks correct in the IDE.
Thanks in advance for any help you can offer.
both an TLR and RTL language and I'm having some issues.
I created my form in the Default language (en-US), layed the controls out,
changed the language to ar-SA - an RTL language - and set the
RightToLeftLayout and RightToLeft to true for the form and RightToLeft to
true for the controls.
I also moved some controls from the right to the left side of the screen, so
the default an RTL language forms have a different layout.
When I run the application, starting it in the default LTR language, and
change the culture while it is running, my comboboxes change from LTR to RTL,
but the controls I moved in the RTL versions of the form do not switch. When
I change back to the LTR language there is no layout change, though the text
correctly changes back to the default language when I use ApplyResources().
Is there something else I need to do to switch back to LTR layout? Why
aren't my controls changing location as they should when I switch cultures?
The two language-specific forms looks correct in the IDE.
Thanks in advance for any help you can offer.