Skip Navigation

[Resolved] Translate CRED delete post link strings

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to translate the strings associated with the CRED Post delete link.

Solution: You can translate the strings using either String Translation or the Translation Editor screen.

[cred_delete_post_link action="trash" text="[wpml-string context='View elenco edit creature']Elimina[/wpml-string]" message="[wpml-string context='View elenco edit creature']Confermi di eliminare la Creatura ?[/wpml-string]" message_show="1" class="cred-refresh-after-delete"]
This support ticket is created 6 years, 8 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 4 replies, has 2 voices.

Last updated by massimoS527 6 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#713622

I followed this guide:https://toolset.com/documentation/translating-sites-built-with-toolset/wpml-string-shortcode/

but I'm not sure of one thing:
I have to make sure that wpml recognizes words to be translated into bold,
how do I wrap them in the WPML shortcode?

[cred_delete_post_link action="trash" text="Elimina" message="Confermi di eliminare la Creatura ?" message_show="1" class="cred-refresh-after-delete"]

can it be okay?

[wpml-string context="View elenco edit creature"][cred_delete_post_link action="trash" text="Elimina" message="Confermi di eliminare la Creatura ?" message_show="1" class="cred-refresh-after-delete"[/wpml-string]
#718035
Screen Shot 2018-04-23 at 11.36.30 AM.png

If you want to translate "Elimina" and "Confermi di eliminare la Creatura?" using String Translation, then you can use the wpml-string shortcodes like this:

[cred_delete_post_link action="trash" text="[wpml-string context='View elenco edit creature']Elimina[/wpml-string]" message="[wpml-string context='View elenco edit creature']Confermi di eliminare la Creatura ?[/wpml-string]" message_show="1" class="cred-refresh-after-delete"]

However, you could also translate the entire cred_delete_post_link shortcode in the Translation Editor screen if this section is translatable. (see the screenshot)

#725279

I get it.

I ask you if I can translate directly from the strings section or I have to send the contents to the translation cart.
The final result is the same?

#728245

Either method is possible. The workflow is different, but the results will not look different to the end User.

#732059

thank you