Copy header copies only main language when using wpml

  1. Problem

When copying the header only the main language is copied. Not the second language also when using wpml.

  1. Problem

When copying a header I above wrote it does not copy the second language. When then trying to manually add the second language by pushing the language icon there is no first language to choose from even there is a first language for sure.

Thanks
Andreas

Hi Andreas,

Thanks for reaching out.
It seems that the header translation is not enabled in your website, to set the header translation, please enable the translatable option from WPML > Settings. Please find the screenshot describing the settings.

If that does not resolve the issue, please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Hi @tristup

The settings were already set correctly. I added the credentials above, so you can check!

Thanks for the help
Andreas

Hi Andreas,

To get the translated version in the dropdown, you need to save any of the versions of the said header. And before you click into the different language flag, I suggest you reload the page once to get that. I have created a Test header name Test by Themeco, and get the translated version by following the above version.

Please find the video of that, which may help you: https://www.awesomescreenshot.com/video/1957822?key=51ae3f8f801d935a98896f827901dd39

Thanks

Hi @tristup

Thanks for the video and help. Sadly that’s not what I meant. I have to emphasis the following:

  • It works when creating a new header and add a language to it
  • IT DOES NOT WORK when duplicating a header and try to add the language in the duplicated header

If you login again on our site you will see the header “copy lufthansa push”. That’s a copied header. Just try to add there the english language and you will see what I mean. In my opinion there is something wrong when copying headers and then add the second language.

In the end I will have many different headers, it is crucial that I can copy them and add a language.

I am looking forward to your help.
Andreas

Hello Andreas,

I have checked your issue and I can confirm that when you copy a header, it only makes one copy. If there is a translation of that header, it will not be copied and you will be instead offered to start a blank or copy from the main language. I’ve submitted this to our issue tracker so the developers will be made aware of it.

Please bear with us.

Hi @ruenel

That’s okay and I am fine with it. But my real issue is this (als already shown in the screenshot above)

I cannot copy from the main language. The only option I have is start blank.

As the headers have many elements thats catastrophic. Would you please check again?

You see what I mean when you open “copy swiss”

Thanks for the help
Andreas

Hello Andreas,

Yes, I can confirm it too. I have forwarded this thread to one of our developers already.
This will be updated when they find a fix to the issue.

Thank you for your understanding.

Hi @ruenel

Thanks for the info. So basically I need to wait until a fix is here without knowing when that will be?

Thanks
Andreas

Hey Andreas,

This might be a bit of bug but if you copy a header, it actually doesn’t generate the layout yet, so you don’t have something to copy.

The solution for now is to save the copy header and by then, you can translate it.

image

Regarding the fix, hopefully, generating the layout would possible in the next release.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.