Good day
I have just done periodic maintenance on one of our sites, i have updated, genesis theme and the Toolset plugins. Now the buttons that are shown in the frontend for uploading a photo have been changed. The button name has been changed and the user will also be redirected to the wordpress backend for uploading images. Although the user only sees his own images, it is clearly visible that this is a WordPress site, there is also text in English. We want the user to work in the Front-end and avoid English terms.
What has been updated:
Tooset Acces 2.7.4 > 2.7.5
Toolset Forms 2.3.6 > 2.5
Toolset Layouts 2.5.2 > 2.6.1
Toolset Maps 1.7.3 > 1.8.1
Toolset Types 3.3.1 > 3.3.5
Toolset Views 2.8.2 > 2.9.1
Toolset Woocommerce Views 2.7.9 > 2.7.10
Important to know:
I have already looked at whether the problem is the same when I change the theme, the problem is still the same,
it does not seem to be the theme
No WordPress update has been done, WordPress was already updated in advance and then there was no difference.
What is important to us:
- To appear professional, it is important to have as many elements as possible in our own language.
The buttons to upload a photo or, for example, a video show English language, this must be in our own language. Our
customers use these buttons daily.
- The same applies to the part that is now shown for uploading the photos, there are English terms (user part wordpress
backend) We would prefer everything via frontend, as it used to work was great for us.
These updates are not an improvement on a non-english website as far as I can see, at least not for us.
Awaiting your reply and many thanks for your support, hopefully we can solve this
Greetings Pascal
Hi, recent updates in the software have enabled the WordPress Media Library for uploading images: https://toolset.com/2019/06/toolset-forms-2-4-and-maps-1-8-release/
You can enable or disable this option in each Form: "Use the WordPress Media Library manager for image, video, audio, or file fields". Note that if you disable this option, AJAX media uploads are no longer supported. If you had custom validation in place for AJAX uploads, that must be revised.
The untranslated button texts "Upload or select image" and "Clear value" have been reported to our developers, who plan to include the translated text correctly in an upcoming release of Forms. However, I don't have a delivery date available for that just yet. In the meantime, you can disable the WordPress Media Library manager for each Form, or rollback to a version of Forms prior to 2.4. I will be glad to keep you updated here when the translations have been fixed.
Hello Christian
Thank you for your reply!
I have to sort it out with regard to turning off the WordPress Media Library.
Should we leave this ticket open for the translations?
It would be nice if we could do the translation in the short term.
Awaiting your reply and many thanks.
Greetings Pascal
Okay I will mark this ticket as Escalated and connect it internally with the translation ticket. It will stay open until the update is released and confirmed. I'll follow up here when I know more about the schedule, and the forum system will send you an update by email.
Hello, I have a quick update for you. It looks like the translation files have not yet been updated in the latest releases, and our developers have not provided an ETA for adding them. In the meantime, you can use some custom code to change the button text. You can add this code to a new snippet in Toolset > Settings > Custom Code:
add_filter( 'gettext', 'change_cred_button_texts', 20, 3 );
function change_cred_button_texts( $translated_text, $text, $domain ) {
if ( !is_admin() ) {
if( $text == 'Clear value' && $domain == 'wp-cred' ) {
return 'Clear value (translation)';
}
if( $text == 'Upload or select image' && $domain == 'wp-cred' ) {
return 'Upload or select image (translation)';
}
}
return $translated_text;
}
Replace Clear value (translation) and Upload or select image (translation) with the translated text.
Hello Christian
I hope you are doing fine in this turbulent time
Thanks for your reply, I really appreciate your support!
This improvement is great, thanks.
Greetings Pascal
Great, thanks for following up.