I have to change the "Yes" and "No" buttons in an Alert.show(..), to another language (Dutch, for instance). Is there a (easy) way to do that?
I forgot to mention - I have a -locale nl_NL in my compiler options, but it is still Yes/No
I have to change the "Yes" and "No" buttons in an Alert.show(..), to another language (Dutch, for instance). Is there a (easy) way to do that?
I forgot to mention - I have a -locale nl_NL in my compiler options, but it is still Yes/No
Following this example you can use Alert.yesLabel = "Accept";
and Alert.noLabel = "Reject";
to customize text in the yes and no buttons with your own string.
Look at this docs to set the tile.