Skip Navigation

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

Problem:
If you're experiencing issues with the footer translation not appearing on the front end even though it's translated in the string translation table, and the widget content translates fine but the titles do not.

Solution:
This is a compatibility issue. Adding the following language configuration code in WPML>>Settings>>Custom XML Configuration has fixed the problem.

<wpml-config>
  <admin-texts>
    <key name="widget_presscore-contact-info-widget">
      </key><key name="2">
        </key><key name="fields">
          </key><key name="0">
            <key name="title"></key>
          </key>
          <key name="1">
            <key name="title"></key>
          </key>
          <key name="2">
            <key name="title"></key>
          </key>
          <key name="3">
            <key name="title"></key>
          </key>          
        
      
    
  </admin-texts>
</wpml-config>

For more details, please check the following documentation:

If this solution doesn't look relevant to your issue, please open a new support ticket with us.

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 4 replies, has 2 voices.

Last updated by Bigul 1 year, 5 months ago.

Assisted by: Bigul.

Author Posts
January 5, 2024 at 1:18 pm #15154591

OzgurK-10

I am trying to translate my site to Arabic, but the footer translation won't show up on the front end no matter what I try. It is translated in the string translation table (see photo). The widget's content translated fine, it seems to be the titles that are the issue.

Link to a page where the issue can be seen: hidden link

I tried clearing the cache, deleting the strings, and translating them again but still had the same issue.

Screenshot (33).png
Screenshot (34).png
January 5, 2024 at 4:03 pm #15155645

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please visit WPML>>String Translation after a site backup{mandatory} and enable the *Look for strings while pages are rendered* option of *Auto register strings for translation* section(on the bottom of the screen). Then visit the frontend pages and check whether the issue exists or not. This option will be disabled in a couple of hours automatically. But will help us to track the issue in similar cases.

Refer to this article for more details - https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#enable-auto-register-strings

I have a request. Please upgrade the following configurations for the better performance of the site.

1) Increase *WP Memory Limit* to *256* MB(the minimum required memory limit for WPML is *128*). Please check the following links for more details

https://wpml.org/home/minimum-requirements/

https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php

2) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details and contact your system admin/hosting provider to upgrade this configuration.

hidden link

--
Thanks!

Bigul

January 8, 2024 at 11:53 am #15160122

OzgurK-10

Hello,

Thank you! I have increased the memory limit and PHP input settings.

However, the footer still doesn't appear translated even after enabling auto register strings for translation.

Could you please help?

January 8, 2024 at 6:09 pm #15162327

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Please fill the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

January 9, 2024 at 2:11 pm #15164981

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the login information. The Footer widget strings are showing the translation after adding the following language configuration code in WPML>>Settings>>Custom XML Configuration.

<wpml-config>
  <admin-texts>
    <key name="widget_presscore-contact-info-widget">
      <key name="2">
        <key name="fields">
          <key name="0">
            <key name="title" />
          </key>
          <key name="1">
            <key name="title"/>
          </key>
          <key name="2">
            <key name="title"/>
          </key>
          <key name="3">
            <key name="title"/>
          </key>          
        </key>
      </key>
    </key>
  </admin-texts>
</wpml-config>

Please check the attached images and the following documentation for more details.

https://wpml.org/documentation/support/language-configuration-files/

--
Thanks!

Bigul

2024-01-09_19h37_07.png
2024-01-09_19h36_20.png
January 9, 2024 at 7:24 pm #15166318

OzgurK-10

Hello Bigul,

That resolved the issue. Thank you for your help!