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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
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+01:00)

Tagged: 

This topic contains 25 replies, has 2 voices.

Last updated by Bruno Kos 7 months, 3 weeks ago.

Assisted by: Bruno Kos.

Author Posts
March 19, 2024 at 10:42 am

gustavG-2

I'm experiencing some trouble with my site, particularly involving WPML and ACF. I've already translated some content on my ACF blocks, and everything seemed to be working fine. However, when I realized that I also needed to translate the labels on the blocks, I encountered some difficulties. Is it correct that when you change Field Groups (acf-field-group) to be translatable, I now need to go to every ACF block and copy the block?

The truble is now that on the frontpage I can see the text that I already translated but when Im in backend I cant

March 19, 2024 at 11:42 am
March 19, 2024 at 3:35 pm #15427336

Bruno Kos
Supporter

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

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

hidden link

Can you import your options field group into this sandbox, translate one of the labels and check if this works in backend?

It is possibly a compatibility issue with ACF we want to check here.

March 19, 2024 at 7:43 pm #15428634

gustavG-2

That was interesting. When I exported the ACF group, it was in English. Now I've imported the group to the sandbox and changed the items that were in English using String Translation, then translated them into Swedish. It seems like everything is working fine here: hidden link.
What could be wrong with my website?

Skärmavbild 2024-03-19 kl. 20.29.00.png
March 20, 2024 at 11:12 am #15430586

Bruno Kos
Supporter

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

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

I am not sure if it works:
hidden link

It doesn't seem to show the correct translation, according to hidden link

Can you check and confirm if this is the same as on your website?

swedish.jpg
March 20, 2024 at 12:31 pm #15431366

gustavG-2

As you can see on the screenshots I have add.
User with language english I can see "Contact information" and then when I change that the user will have it in swedish I get "Kontaktinformation".

User in English.png
User in Swedish.png
March 20, 2024 at 12:48 pm #15431484

gustavG-2

I see that the page name hasn't been updated. It says 'Contact information' in both languages. But maybe this is not translated in the string translations? This hase nothing to do with the ACF group I added?

Best regards!

March 20, 2024 at 1:47 pm #15431815

Bruno Kos
Supporter

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

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

It does seem translated in the backend:
hidden link

So it would always show only the language of the admin user? Can you change your admin user on your site and see what shows there?

March 20, 2024 at 3:41 pm #15432780

gustavG-2

On my site staging.masterveil.se it looks like this (see image) its allways on swedish.

Yes this labels are only for backend

User - Swedish language.png
User - English language.png
March 21, 2024 at 7:57 am #15434585

Bruno Kos
Supporter

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

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

Can you provide me with a site Duplicator package?

https://wpml.org/faq/provide-supporters-copy-site/

Please exclude all the media files, etc, to keep the package minimal.

I will escalate the whole case to our 2nd tier for further checks.

Also, for my user please set it as site administrator because I cannot see most of the menu items in the backend.

menus missing.jpg
March 22, 2024 at 6:10 am
March 25, 2024 at 7:34 am #15444938

Bruno Kos
Supporter

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

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

I am not sure if this is the correct package, it is very small (6MB only) and the structure looks to be missing files.

I got this during deployment:

SCRIPT FILE TEST: C:/Apache24/htdocs/new1/wp/wp-login.php

EXCEPTION test script file C:/Apache24/htdocs/new1/wp/wp-login.php doesn't exist
	FILE: C:\Apache24\htdocs\new1\app\wp_test_script_5bb9585-22055745.php[119]
	--- TRACE ---

-----

Can I try creating it (Duplicator PRO package) on my own?

March 25, 2024 at 7:53 am #15444959

gustavG-2

Absoult! You can do it!

March 25, 2024 at 10:47 am #15445867

Bruno Kos
Supporter

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

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

It creates the same small package for me, is this some sort of a different WordPress setup?

No filters are used and the scan shows that the package should have just above 1GB.

Can you try with https://wordpress.org/plugins/all-in-one-wp-migration/ instead?

March 25, 2024 at 1:58 pm