Skip to content Skip to sidebar

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)

This topic contains 22 replies, has 2 voices.

Last updated by Milosz Jaksik 3 years, 1 month ago.

Assisted by: Bruno Kos.

Author Posts
June 30, 2022 at 12:47 pm #11576217

Milosz Jaksik

Bruno,
you can work on the website I provided you access to. It is staging website. Besides I have backup etc. so go ahead.

July 1, 2022 at 6:56 am #11582361

Bruno Kos
WPML Supporter since 12/2018

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

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

Hi,

We are still working on this, we did find however that the issue is when "Advanced AJAX Product Filters for WooCommerce" plugin is active, the template part slug changes from filters-desktop-mobile-2 to filters-desktop-mobile-2-2 when translation saved in TE.

In the meantime, for the PHP warning issue => you translated the attribute base slug to "type de vélo" but that should be a complete word so other plugins can handle it. We changed that to type-de-vélo in WooCommerce > WooCommerce multilingual > Store URLs.

For the template, we are working on it. Meanwhile, you can make updates on original and translated template if you need to make some changes there and after you do, run this query:

UPDATE ptrlbks_posts SET post_name = 'filters-desktop-mobile-2' WHERE post_name = 'filters-desktop-mobile-2-2';

The template slug is being changed as soon as translation is saved. We are looking into that and will keep you posted here further.

Regards,
Bruno Kos

July 1, 2022 at 7:35 am #11582575

Milosz Jaksik

Thanks for the tip with slugs I thought WP will convert spaces to dashes. I revised and amended remaining slugs.

July 6, 2022 at 11:42 am #11613899

Milosz Jaksik

Hello, any news?

July 6, 2022 at 12:35 pm #11614301

Bruno Kos
WPML Supporter since 12/2018

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

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

Hi,

This issue has been escalated to WPML developers. In support we weren't able to find a cause of this, only partially and we reproduced this in sandbox sites, but none of the workarounds we tried helped in your specific site.

I will keep this thread updated as soon as I get any new information from developers team!

Regards,
Bruno Kos

July 6, 2022 at 12:50 pm #11614409

Bruno Kos
WPML Supporter since 12/2018

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

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

In the meantime, maybe if you use default WordPress widgets and pages instead of templates? Not sure I can recommend something else.

July 7, 2022 at 7:57 am #11619961

Milosz Jaksik

Ok, thanks Bruno. I will try to make a workaround.

July 7, 2022 at 10:22 am #11621661

Milosz Jaksik

One more thing. Perhaps this will give tou some clue.
In WPML > Translations there are translation jobs of a template part (with filters) I created few days ago. When I click Translate button I have a screen with nothing to translate! notice "NaN% Complete" at the bottom.

Screenshot 2022-07-07 at 12-17-33 Translations ‹ Patrol Bikes — WordPress.png
Screenshot 2022-07-07 at 12-16-53 Translations ‹ Patrol Bikes — WordPress.png