views:

503

answers:

1

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

+3  A: 

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.

wezzy