Open

Topic Tags: String Translation

Symptoms

Some very specific strings, registered via the wpml_translate_single_string hook or the deprecated call to icl_translate may not translate in some cases.

Our developers are working on fixing this.

This is happening because of our new translation mechanism and because the affected string may be modified so it’s not the exact value as it is saved in the database.

Workaround

  1. First, find the problematic string.
  2. Go to the WPML -> String Translation page and remove the problematic string.
  3. Go to the WPML -> String Translation page and in the Auto register strings for translation section, enable the Look for strings while pages are rendered option.
  4. Re-visit the page on the front-end where the string appears.
  5. Re-visit the WPML -> String Translation page and search for that string.
  6. Translate the string.

After translating the string, remember to un-check the auto-registration option.

One Response to “In some cases some strings are not translating properly”

Leave a Reply

Please leave here comments about this page only.
For technical support and feature suggestions, head to our forum. We are waiting there!

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>