Search in support tickets

#662 – How translate select an option

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 15 October 2019 15:42 CEST
pat01
Hello

I have created a custom dropdown field. In frontend it says "Select an option".

Where can I translate "Select an Option"?

I did check ticket 489 but it does not explain (it explains how to translate other text, such as Placeholder for Edit View).

Thanks.

Patrick

Edit: Its adsmanager version 3.2.4
Custom Fields
Joomla Version
3.9.12
PHP Version
7.2
Product
AdsManager
Product Version
3.2
Wednesday, 16 October 2019 14:44 CEST
loic
Hello,

The select an option in the dropdown are translated automatically by the browser.

For example, if your browser is set in spanish, then the text will be in spanish.

If you change your settings, you will see the translation change.

Best regards.
 
Thursday, 17 October 2019 06:56 CEST
pat01
Hi

I use Webbrowser in German but see English text. As far as I could figure out "Select an option" is hard coded in JS files:

com_adsmanager/js/chosen
AbstractChosen.default_single_text="Select an Option"
AbstractChosen.default_single_text = "Select an Option";

Thanks.

Friday, 18 October 2019 07:42 CEST
loic
Hello,

You can try to edit the field with that text and fill the setting ''Placeholder for Edit View' in the field options.

If you wish to translate that string in multiple languages, you can follow the solution in that ticket -> https://www.joomprod.com/support/support-tickets/Ticket/489-can-not-translate-select-an-option.html

Best regards.
 
Friday, 18 October 2019 08:13 CEST
pat01
Hello

You can try to edit the field with that text

There is no such field with that text.

"Select an option" is added automatically in frontend view.

"Select an Option" is not visible in Backend view(!). So where am I supposed to add a language string?

Thanks a lot.

Regards




Attachment
Friday, 18 October 2019 08:47 CEST
loic
Hello,

In the backend, Components -> AdsManager -> Fields, edit the field that display that text and fill the setting 'Placeholder for Edit View'.

Sorry, I didn't give you enough details.

Best regards.
 
Friday, 18 October 2019 08:58 CEST
pat01
Hello

OK, works!

Thanks a lot!

Regards
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.