Java Question Is there way to make switch library support other languages?

Theera

Expert
Licensed User
Longtime User
Hi Experts,
The switch library is interesting,I would like to use it,but I need to change to be my language. How do I do? (or The expert please to help for addition properties.)

Thank you in advance.
 

Theera

Expert
Licensed User
Longtime User
I'll try it. (P.S. I'm still unknown java coding)
 

Theera

Expert
Licensed User
Longtime User
Hi all,
I've tried all of day to setTextON/setTextOFF in java code. It's difficult to do finished,Please someone help me.

Thank you in advance
 

Attachments

  • ThaiSwitch.zip
    2.1 KB · Views: 261

Theera

Expert
Licensed User
Longtime User
Hi Erel,
What is it should be? Please help me corrected them.
B4X:
public void setTextOn()
    {
        switchView.setTextOn("เปิด");
    
    }


    public void setTextOff()
    {
        switchView.setTextOff("ปิด");
    }
 

Attachments

  • NotThaiFont.png
    NotThaiFont.png
    14 KB · Views: 259
Last edited:

Theera

Expert
Licensed User
Longtime User
Thank you,Erel I've finished as your guide.
 

Attachments

  • ThaiSwitch.png
    ThaiSwitch.png
    17.3 KB · Views: 224
Top