Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where the attribute 'cats_slug' in their parent theme's wpml-config.xml is still being translated automatically by ATE, despite attempts to set it as non-translatable.
Solution:
We recommend registering a "dummy" attribute to resolve the issue. Replace the Custom XML Configuration with the following code:

<wpml-config><br />  <shortcodes><br />    <shortcode><br />      <tag ignore-content="1">fusion_faq</tag><br />      <attributes><br />        <attribute>dummy</attribute><br />      </attributes><br />    </shortcode><br />  </shortcodes><br /></wpml-config>

After updating, the shortcode should be removed from the advanced translation editor. If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Lauren 1 year, 6 months ago.

Assisted by: Lauren.

Author Posts
September 9, 2024 at 1:49 pm #16156940

thomasC-38

Background of the issue:
Sorry, I'm posting this again. I wasn't aware of the live chat and my explanation was not clear enough. I'm trying to overwrite the wpml-config.xml of my parent theme. This is the config of my parent theme for the attribute: cats_slug. I want to make sure cats_slug is not translatable and not translated automatically by ATE. I tried cats_slug but that did not work.

Symptoms:
The attribute cats_slug is still being translated automatically by ATE despite attempts to set translate="0".

Questions:
What is the right way to make sure cats_slug is not translatable and not translated automatically by ATE?

September 9, 2024 at 5:00 pm #16157996

Lauren

I have escalated this to our 2nd Tier Support team. I will be working with the developers to find a solution and will keep you updated here. Thanks for your patience while we continue to troubleshoot.

September 10, 2024 at 1:56 pm #16162002

Lauren

Our developers are still looking into this further to determine the best practice for removing shortcodes/attributes, but in the meantime we found that if you register a "dummy" attribute, it resolves the issue. For example, replace the Custom XML Configuration with the following:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag ignore-content="1">fusion_faq</tag>
      <attributes>
        <attribute>dummy</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

Then update the original and you will see the shortcode has been removed from the advanced translation editor. You can take a look at the test site we were working on earlier and see that is no longer showing in the translation editor.
hidden link

Please let me know if this workaround resolves the issue for you.