Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: How can I translate the Cancel/Done text in iOS combobox picker selector?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Aug 28, 2017 10:38 AM Last Post By: Markus Humm
Luis Concepcion

Posts: 16
Registered: 3/16/00
How can I translate the Cancel/Done text in iOS combobox picker selector?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 28, 2017 3:39 AM
I have noticed that my app shows a 'Cancel' and a 'Done' buttons when expanding a TComboBox. I need to translate those texto into spanish, but I'm not sure Where to change it.

There is a TPopupDialog.Create constructor in FMX.Picker.iOS.pas with:

    FUICloseButton.setAction(sel_getUid('Cancel'));
    {...}
    FUIDoneButton.setAction(sel_getUid('Done'));
    


Can I change this here? Is it sure? There is no references in FMX.Consts.pas file.

I'm using Delphi Seattle, btw.

Thanks!
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: How can I translate the Cancel/Done text in iOS combobox picker selector?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 28, 2017 10:38 AM   in response to: Luis Concepcion in response to: Luis Concepcion
Am 28.08.2017 um 12:39 schrieb Luis Concepcion:
I have noticed that my app shows a 'Cancel' and a 'Done' buttons when expanding a TComboBox. I need to translate those texto into spanish, but I'm not sure Where to change it.

There is a TPopupDialog.Create constructor in FMX.Picker.iOS.pas with:

    FUICloseButton.setAction(sel_getUid('Cancel'));
    {...}
    FUIDoneButton.setAction(sel_getUid('Done'));
    


Can I change this here? Is it sure? There is no references in FMX.Consts.pas file.

I'm using Delphi Seattle, btw.

Thanks!

It might be that there's the call to translate missing there as well as
it is for the async MessageDialogs.

If this is the case we need another QP report and EMBT finally needs to
fix these issues!!! My report about these MessageDlg button captions
which are ressource strings and can thus only be translated in Win32
applications is open long enough already.

Greetings

Markus
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02