Hello,
How can I localize the button captions (tcbOK, tcbYes, tcbNo, tcbCancel, tcbRetry, tcbClose) to a respective language e.g. Spanish, German etc.on the fly?
Now they seem to be hard coded:
ButtonNames: array[TTMSFNCTaskDialogCommonButton] of string = ('OK', 'Yes', 'No', 'Cancel', 'Retry', 'Close');
Is the component not ready for localization?
At this moment there is no option to change the default names, it’s something we can look into. However, as a workaround you can add custom buttons with any name you like.
Can you give me a short example, how to use these resourcestrings?
For example with DevExpress components, the programmer can use the cxSetResourceString as: