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.

This topic contains 14 replies, has 2 voices.

Last updated by pamelaW 1 year, 6 months ago.

Assisted by: Kor.

Author Posts
April 25, 2023 at 11:02 am #13532641

pamelaW

This site has default language Finnish and is translated to English, German and Swedish. I’m using ATE for translating the site. Would you please advice me how I can have identical translation fields I all three languages. I would like to have the same as in the Swedish ATE. There is a lot of fields missing in the English and German ATE. On the Swedish front en page the image texts are note visable although they are translated.

FI: hidden link <-- default language
SV: hidden link <-- image gallery fields are correct but all translations can not be found on frontend (image gallery).
EN: hidden link <-- image gallery texts are missing in ATE
DE: hidden link <-- image gallery texts are missing in ATE

The images are also translated in Media Translations.

This is an old page and the translation fields were correct before, but not any more. There must have been an update that made this error.

April 26, 2023 at 12:13 pm #13541031

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for contacting us.

I've checked your Website and I think I know what's going on there.

Please try registering the page builder shortcodes following the instructions here https://wpml.org/documentation/support/language-configuration-files/ and see if it helps.

Thanks!

Kor

April 27, 2023 at 11:47 am #13549289

pamelaW

Thank you Kor,
I sent your reply to Kadence Theme (Gutenberg) to get the page builder shortcodes for the image gallery.

Pamela

April 27, 2023 at 3:24 pm #13551159

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

I'm not so sure if they would help but let me know how it goes.

Thanks!

Kor

April 28, 2023 at 11:16 am #13556929

pamelaW

Hi Kor,
you were right! No help från Kadence Theme 🙁
Would you please help me to solve this, which shortcode should I use or can you update the config-file for me with a shortcode for "Advanced Gallery block"

Pamela

April 28, 2023 at 3:48 pm #13558563

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

I would need to take a closer look at your site. So I would need to request temporary access (WP-Admin and FTP) preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed

IMPORTANT: Please, note, a backup is required for security reasons, and to avoid any data loss, you can use the https://wordpress.org/plugins/updraftplus/plugin for these backup needs.

Your following answer will be private, which means only you and I have access to it.

✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if required. This is also a reason the backup is critical.

Thanks!

Kor

May 3, 2023 at 4:53 pm #13581101

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

Sorry, I can't seem to work out the correct XML configuration. Could you replicate the issue here hidden link so that I could troubleshoot this further?

Or could you share a snapshot of your Website so that I could continue with the troubleshooting? Or can we have your permission to create a snapshot on our own?

We usually recommend the free Plugin “Duplicator” for this purpose.

If you already know how Duplicator works ( https://wordpress.org/plugins/duplicator/),please skip the following steps and just send me the archive file you downloaded.

★ Duplicator Instructions hidden link https://wpml.org/faq/provide-supporters-copy-site/

If the file is too large (more than 400M), please use the Duplicator file filters to remove the cache, the wp-uploads directory, the media, and the archive files.

Send me the link to the archive file (you probably want to use Google Drive, Dropbox, or similar services, as the snapshot file will be quite big).

Your next reply will be private, which means that only you and I will be able to see it and have access to it.

You can paste the link to the file there.

Once the problem is resolved I will delete the local site.

Thanks!

Kor

May 4, 2023 at 10:54 am #13585555

pamelaW

Hi,
I've build a built an example page for you in the sandbox.

The gallery has image + caption + URL-link.

In previous versions of WPML ATE the caption and URL-link are translatable and found in the ATE tool, but not any more.

Hope you can solve this!

Pamela

sh-teksor-gallery.jpg
May 4, 2023 at 5:05 pm #13589001

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

I found the correct custom XML configuration. Please insert into WPML > Settings > Custom XML Configuration.

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="kadence/advancedgallery" translate="1">
     
      <key name="imagesDynamic" >
        <key name="*">
          <key name="caption" />
        </key>
      </key>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

You can try translating here hidden link and you'll see the image captions.

Thanks!

Kor

May 4, 2023 at 5:46 pm #13589341

pamelaW

Hi Kor,
Yes, I can now see the Caption fields in ATE, but I cannot see any URL-links. For example the first image has this link: hidden link

Can the wpml-config also be pasted by using Code snippet plugin?

Pamela

May 5, 2023 at 5:42 am #13590665

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

Please update the custom XML configuration with the below and it should work.

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="kadence/advancedgallery" translate="1">
      <key name="imagesDynamic">
        <key name="*">
          <key name="caption" />
          <key name="customLink" />
        </key>
      </key>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

Thanks!

Kor

Screenshot_140.png
May 5, 2023 at 6:24 am #13590831

pamelaW

Hi,
When I opened the custom xml, there is already this, how should it be updated with the new content:

<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="core/search" translate="1">
<key name="label" />
<key name="buttonText" />
</gutenberg-block>
<gutenberg-block type="kadence/advancedgallery" translate="1">
<key name="imagesDynamic" />
<key name="imagesDynamic*" />
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>

May 5, 2023 at 6:58 am #13591053

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

Please replace all the custom XML code with the below. Then, make minor edits to the primary language page so that it refreshes the "Advanced Translation Editor".

<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="core/search" translate="1">
<key name="label" />
<key name="buttonText" />
</gutenberg-block>
<gutenberg-block type="kadence/advancedgallery" translate="1">
      <key name="imagesDynamic">
        <key name="*">
          <key name="caption" />
          <key name="customLink" />
        </key>
      </key>
    </gutenberg-block>
</gutenberg-blocks>
</wpml-config>

Thanks!

Kor

May 5, 2023 at 12:18 pm #13594323

pamelaW

Hi Kor,
Thank you, you have solved the problem and I have tested the site. It works!
Would you please delete all url:s and images from our conversation.

Have a nice weekend!

Pamela