Skip Navigation

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

Problem:
The client needed to translate the logo in the Pearl Theme using WPML.
Solution:
If you're experiencing this issue, we recommend you follow these steps:
1. Navigate to WPML-> Settings-> Custom XML tab.
2. Add the following code:

<wpml-config>
  <admin-texts>
    <key name="fw_theme_settings_options:pearl">
      </key><key name="header_type">
        </key><key name="header_v2">
          </key><key name="h2_logo_main">
            <key name="url"></key>
          </key>
          <key name="h2_logo_dark">
            <key name="url"></key>
          </key>
        
      
    
  </admin-texts>
</wpml-config>

3. Go to WPML-> String Translation.
4. Search for the logo URL and translate it.
After these steps, you can set different logos per language.

Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, 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 5 replies, has 2 voices.

Last updated by ioannisK 2 years, 6 months ago.

Assisted by: Osama Mersal.

Author Posts
May 10, 2022 at 1:15 pm

ioannisK

Pearl Theme logo translation

May 10, 2022 at 2:08 pm
May 10, 2022 at 2:30 pm #11190617

ioannisK

Hi, following our chat conversation I tried to replicate the issue in the clean installation, but as soon as I installed the wpml I got an error on the admin panel.

The previous actions were to install and activate the theme and plugins, and the demo content as well.

May 10, 2022 at 3:24 pm #11191007

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I've checked the issue and was able to register the logo URL for translation by the following steps.

1- Go to WPML-> Settings-> Custom XML tab
2- Add the following code

<wpml-config>
  <admin-texts>
    <key name="fw_theme_settings_options:pearl">
      <key name="header_type">
        <key name="header_v2">
          <key name="h2_logo_main">
            <key name="url" />
          </key>
          <key name="h2_logo_dark">
            <key name="url" />
          </key>
        </key>
      </key>
    </key>
  </admin-texts>
</wpml-config>

3- Go to WPML-> String Translation
4- Search for the logo URL and translate

After these steps, you can set different logos per language. (Kindly check the attached screenshot)

Would you please let me know if these steps fixed your issue?

I hope this helps you. If you need further info, please let me know.

Best regards,
Osama

1.jpg
May 10, 2022 at 3:24 pm #11191031

ioannisK

Yes, worked fine. Thank you!

May 10, 2022 at 3:27 pm #11191035

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

It's great to hear that the issue is fixed now.🙂 If you face any other issues, please don't hesitate to open a new ticket. We are always happy to help you.

Have a good day!

Kind regards,
Osama