Dialog widgets display three default buttons. In English-speaking locales, these default buttons generally display the words "Help," "Cancel," and "OK." However, you may customize these buttons to display words appropriate to your locale. To customize these buttons, just specify the appropriate word or words for the XmNmessageString, XmNcancelLabelString, and XmNokLabelString resources.
For example, suppose that you are in a French-speaking locale. In this case, you can customize the dialogs by adding the following lines to your .Xdefaults file:
Mwm*confirmQuit*messageString: Quitter Mwm Mwm*confirmQuit*cancelLabelString: Annuler Mwm*confirmQuit*okLabelString: Confirmer ! Restart Dialog ! -------------- Mwm*confirmRestart*messageString: Redemarrer Mwm Mwm*confirmRestart*cancelLabelString: Annuler Mwm*confirmRestart*okLabelString: Confirmer ! Toggle Default Dialog ! --------------------- Mwm*confirmDefaultBehavior*messageString: Utiliser le Comportement Par Defaut Mwm*confirmDefaultBehavior*cancelLabelString: Annuler Mwm*confirmDefaultBehavior*okLabelString: Confirmer ! Toggle Custom Dialog ! -------------------- Mwm*confirmCustomBehavior*messageString: Utiliser le Comportement Personnalise Mwm*confirmCustomBehavior*cancelLabelString: Annuler Mwm*confirmCustomBehavior*okLabelString: Confirmer