Internationalisation of segmented control

I am attempting to internationalise an iOS app.
I can use me.text = constant (with different text according to language) for other fields, but am a bit unsure about how to use this approach with a segmented control.

Edit your control and set the labels to #. You can use this technique for labels too, just set the text to # followed by the constant name.

Norm gave me a similar response and I have it working. Couldn’t find that in the Xojo docs.
It is a bit more complicated than that in that there are a few more steps, but not too hard to work out now I have played with it a bit. Jeremie Leroy’s font changing routines are a great help as well

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.