Skip Navigation

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 21 replies, has 3 voices.

Last updated by Osama Mersal 1 year, 10 months ago.

Assisted by: Osama Mersal.

Author Posts
January 18, 2023 at 12:20 pm #12842571

ziga pipan

will do, but can you first try to login again now?

January 18, 2023 at 12:21 pm #12842575

Osama Mersal
Supporter

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

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

Hi,

Still not working for me. I think you might need to check that with your host support.

Thanks,
Osama

January 18, 2023 at 1:14 pm
January 18, 2023 at 2:26 pm #12843735

Osama Mersal
Supporter

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

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

Hi,

Thanks for the package. I've installed a local copy of your site, and during the tests, I noticed that the strings are translated correctly when using the parent theme.

Could you please activate your parent theme and create a top header to check if it will work correctly?

If it worked correctly, please check the child theme settings and configuration to see if some configurations caused the issue.

Best regards,
Osama

January 19, 2023 at 11:48 am #12850275

ziga pipan

If I switch to parent theme my header will be gone
hidden link

But I did strip the child theme of all my custom code and it did not help

January 19, 2023 at 11:54 am #12850299

Osama Mersal
Supporter

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

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

Hi,

Could you please try the following test?

1- Switch to the parent theme
2- Go to Customizer-> Header-> Top header
3- Add the Promo text widget
4- Translate it via String Translation

Kindly let me know if the widget's strings will be translated correctly or not.

Thanks,
Osama

January 20, 2023 at 8:00 pm #12862125

ziga pipan

I can't switch off to parent theme because the site is selling an item every few minutes. What I did is install a chiled them to sandbox, created a new promo text and it worked ok.

I deleted these 3 strings, translated them again on my wesbsite and it did not work.
I deleted these 3 strings agina, added a new one with a minor difference and it did not work.
Then I added 3 news strings on top of current ones, like so
hidden link
First three were not translated, but last three were translated ok.

I figured I win, I deleted first three items, but not it's not working again. I don't know what to do anymore, somehow these 3 fields are not registered ok in wpml.

January 20, 2023 at 9:35 pm #12862315

Osama Mersal
Supporter

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

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

Hi,

Thanks for your update. Could you please add the following XML code to WPML-> Settings-> Custom XML tab?

<wpml-config>
  <admin-texts>
    <key name="theme_mods_xstore-child">
      <key name="*" />
      <key name="promo_text_package">
        <key name="*">
          <key name="text" />
          <key name="icon" />
          <key name="icon_position" />
          <key name="link_title" />
          <key name="link" />
        </key>
      </key>
    </key>
  </admin-texts>
</wpml-config>

After that, please go to WPML-> String Translation and search for "promo_text_package". Kindly translate the strings, clear the cache and check the front end.

Would you please let me know if the above steps fixed the issue?

Best regards,
Osama

January 20, 2023 at 11:52 pm #12862569

ziga pipan

Yes, thank you!

January 21, 2023 at 7:06 am #12863571

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. 🙂 Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.

Have a great day!

Best regards,
Osama