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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

Tagged: 

This topic contains 17 replies, has 2 voices.

Last updated by Bruno Kos 1 year, 5 months ago.

Assisted by: Bruno Kos.

Author Posts
December 17, 2023 at 5:11 pm #15079405

robinB-8

I am trying to: update "elements" from Generatepress

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

I expected to see: in Vietnamese page, "Exclusions" column is: "Post Tag: post tag test - vi"

Instead, I got: "Post Tag: post tag test - en"

This is video that I show this bug: hidden link

December 20, 2023 at 7:24 am #15098289

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Thank you for contacting WPML support!

In a nutshell, is the issue that exclusions offered by GeneratePress don't work automatically so you have to adjust them on translated pages?

In any case I am unable to view your website examples because they require me to login. Can you provide me with login credentials? Perhaps there is a custom field that control this so we can set to copy.

Regards,
Bruno Kos

December 20, 2023 at 7:28 am #15098295

robinB-8

1. In a nutshell, is the issue that exclusions offered by GeneratePress don't work automatically so you have to adjust them on translated pages? - Yes, it is.

2. I can give you login info via private message. Please create private message for me

December 20, 2023 at 7:59 am #15098507

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Private message set.

December 20, 2023 at 8:27 am #15098823

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

On hidden link I was able to find custom fields following which I believe are responsible for this information:

_generate_element_display_conditions
_generate_element_exclude_conditions

Right now they seem to have "copy once" setting - can you do the following:

- Unlock them
- set as "copy"
- resave any original post and set some conditions so that the change applies to
- if it doesn't work properly try setting "translate", perhaps it may work

If none of it works we will try to reproduce the issue in our sandbox environment and escalate to our compatibility team for further checks.

exclude.jpg
December 20, 2023 at 9:21 am #15099629

robinB-8

None of it works. I tried set both "copy" and "translate". But my exclusion is always "Post Tag: post tag test - en" after I update my element and Vietnamese language.

December 20, 2023 at 9:40 am #15099775

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

I see - can you install the theme here?
hidden link

And just create one page, translate, and set one exclusion.

Just put a minimal amount of content here, I guess one heading or paragraph will do so we can see that exclusions don't work even if set to "copy".

If we see this happening here I will escalate the whole case to our compatibility theme for further checks.

December 20, 2023 at 9:50 am #15099921

robinB-8

I setted up, please go to check.

December 20, 2023 at 9:58 am #15099951

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Can you also create one page or post, translate, and set one exclusion as I am not sure if something else is needed to have this working.

Just put a minimal amount of content here, I guess one heading or paragraph will do so we can see that exclusions don't work even if set to "copy".

December 20, 2023 at 10:17 am #15100111

robinB-8

I created at here.

hidden link

December 20, 2023 at 12:23 pm #15101855

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Ok, one last thing before escalating - I see that this block is set to be excluded on hidden link.

Can you have that block showing up somewhere, for example another tag?

Because even if conditions on the translated language appear to be applied to the same taxonomy, perhaps there is a filter within GeneratePress which does the work behind the scenes.

So we need something in the frontend where we can observe the behaviour with exclusions.

December 20, 2023 at 1:24 pm #15103143

robinB-8

I don't know what you mean.

You can see that tag at here: hidden link

December 20, 2023 at 2:36 pm #15103581

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

This hidden link, even if I set its Location to be that tag hidden link, it doesn't show up that image, how can I get this element to appear somewhere so I can see that exclusion works? Can you set this up?

December 20, 2023 at 3:51 pm #15104441

robinB-8

I setted up. Now you can see image (in element) at this post: hidden link

December 20, 2023 at 4:37 pm #15104915

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

This has been escalated to our Compatibility team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.

The topic ‘[Closed] Conflict between "GeneratePress premium" and "WPML String Translation"’ is closed to new replies.