Skip Navigation

[Resolved] Updated Version of Forms does no longer use Translated Fields for Image Upload

This support ticket is created 5 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Philipp 5 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#1327521

I am trying to: Use CRED to allow people to upload images and it was using the WordPress build in translated Buttons for upload, delete etc. Now they all appear in englisch rather than german

#1327531
#1331487

Hi, just a quick update to let you know this issue has been escalated to our developers. I will keep you posted here as I receive more information.

#1361587

Any updates on this matter?

#1361697

Hello, no I do not see that the updated translations have been added to the software yet. I'll keep you posted here as I receive more information from our developers.

#1398081

Hi,

any updates with the latest Versions / Releases?

Best
Philipp

#1398099

Can you come up with a proposal how to translate the fields manually e.g. like https://toolset.com/de/forums/topic/translate-upload-or-select-file-button-w-o-wpml/ ?

#1399069

It looks like the translation files have not yet been updated in the latest releases. You can try using 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 in German';
        }

        if( $text == 'Upload or select image' && $domain == 'wp-cred' ) {
          return 'Upload or select image in German';
        }

    }

    return $translated_text;
}
#1400123

My issue is resolved now. Thank you!