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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

This topic contains 11 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 9 months ago.

Assisted by: Osama Mersal.

Author Posts
September 15, 2023 at 8:48 am #14401577

yassineS

I have an issue where changing the language in the WordPress admin panel also affects the language displayed on the website's frontend when using WPML, particularly for articles and custom post types 'team'. Specifically, when I change the language in the dashboard, it modifies the WP query used on the site to display the language I selected in the dashboard. Can you help me resolve this issue?

September 15, 2023 at 8:55 am #14401677

yassineS

i still ness assistance

September 17, 2023 at 8:41 am #14407859

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply due to a higher workload. Would you please elaborate more on the issue to help me understand it better?

It would be very helpful if you could share screenshots or a screen-recorded video while reproducing the issue.

Best regards,
Osama

September 18, 2023 at 9:03 am #14410265

yassineS

Hello

Here is an explanatory video : hidden link

Thank you for your assistance.

September 18, 2023 at 9:09 am #14410367

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the video. Please go to WPML-> Languages, and unhide English. After that, please clear your site's cache and check the issue while logged in and out.

Please let me know the result of the above test.

Best regards,
Osama

September 18, 2023 at 9:22 am #14410467

yassineS

Hello,

We performed this procedure, but the issue persists.

Thank you for your assistance.

September 18, 2023 at 9:27 am #14410531

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I would need to look closely 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 need to be changed.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

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

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

September 18, 2023 at 11:08 am #14411323

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. Could you please try the following steps on the test site?

1- Delete all the translated field groups
2- Go to WPML-> Settings-> Post Type Translation section
3- Set the "Field Groups (acf-field-group)" post type to "Not Translatable"
4- Edit the field groups and select the translation mode, then save them (https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/)
5- Edit a team post and update it
6- Update its translation
7- Clear the cache and check the issue

Please let me know the result of the above steps. I tried to create a local copy of your site to run this test, but I couldn't download it, and there isn't FTP access to grab it from the server.

Best regards,
Osama

September 18, 2023 at 1:36 pm #14412559

yassineS

Hello,

thank you for your feedback

We have followed the provided instructions; however, the issue persists. It's important to note that the problem doesn't seem to be related to the ACF fields. We have also identified the issue in the WordPress titles of the custom post 'team.

Thanks

September 18, 2023 at 2:20 pm #14413231

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for your update. I used a query to get the post title in the page's template, and the titles are correct. (Kindly check this hidden link)

I added the query in the "Equipe Page Template (pages/equipe.php)" file at line 177. (Kindly check this hidden link)

Please check your loop because it might be the cause of the issue as you use a custom theme.

Best regards,
Osama

September 18, 2023 at 2:29 pm #14413329

yassineS

Where could this difficulty originate from?

September 18, 2023 at 2:30 pm #14413363

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

The issue seems to be caused by your loop function, which is the function that calls the posts and creates the grid.

Best regards,

The topic ‘[Closed] the WordPress admin panel also affects the language displayed on the website's’ is closed to new replies.