I try to translate the "Nothing selected" in Front-End Modals, and for "multiselect-fields" there is a translation via .po-file possible - but "one-line selectfield" seams to be hardcoded. In which file i can find the string, so i can translate hardcoded too?
of course we did that and changed it. We would like to make all language settings via the po-files. For the multiselect fields this also works well, but the one-line fields are obviously not addressed. Unfortunately the po-file contains only one single "Nothing selected" - for multiselect fields ...
This isn't working. The translation does not change. I suspect that the "Nothing selected" is still hard coded somewhere. And please don't misunderstand: We like to use the po file very much and have done all translations about it. It is only super annoying if they are not included as variables somewhere.
Is there a way you could provide me with FTP access, so I can take a look?
Also, please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
sorry, this is not possible. But i found it by myself: in wpdatatablesassetsjsootstrapootstrap-select.min.js there is an default setting for "Nothing selected" - if i change this i have an translation. Please check that for all drop-downs in the frontend this setting is also replaced by the translation in po-files.
I try to translate the "Nothing selected" in Front-End Modals, and for "multiselect-fields" there is a translation via .po-file possible - but "one-line selectfield" seams to be hardcoded. In which file i can find the string, so i can translate hardcoded too?
Hi KienbaumIT.
Have you tried going through Edit/Find in POEdit? I just opened the French language file, and managed to find "Nothing selected":
Please let me know.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi,
of course we did that and changed it. We would like to make all language settings via the po-files. For the multiselect fields this also works well, but the one-line fields are obviously not addressed. Unfortunately the po-file contains only one single "Nothing selected" - for multiselect fields ...
I see, KienbaumIT.
You can do this manually, by opening the ../wp-content/plugins/wpdatatables/source/class.wdttools.php.
Around line 366 you will find this:
Change it to look something like this:
and it should, eventually, look like this:
There are a lot of other things in that file that you can translate if the .po file fails to translate them.
I hope this helps.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
This isn't working. The translation does not change. I suspect that the "Nothing selected" is still hard coded somewhere. And please don't misunderstand: We like to use the po file very much and have done all translations about it. It is only super annoying if they are not included as variables somewhere.
See this Screenshot of the HTML-Output ... Two buttons, but different output ...
Hi again KienbaumIT.
Is there a way you could provide me with FTP access, so I can take a look?
Also, please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Alexsandar,
sorry, this is not possible. But i found it by myself: in wpdatatablesassetsjsootstrapootstrap-select.min.js there is an default setting for "Nothing selected" - if i change this i have an translation. Please check that for all drop-downs in the frontend this setting is also replaced by the translation in po-files.
Hi KienbaumIT.
Thanks for letting me know.
I have forwarded this to our developers, so they'll take a look and see why not all of the drop-downs are translated in the .po file.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables