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.

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Dražen 1 year, 8 months ago.

Assisted by: Dražen.

Author Posts
August 22, 2023 at 10:51 am #14270177

stefanE-2

We have a custom Theme which is not optimised for wpml (no conifg file). Now I try to add the config via the settings. Sadly the don't have any effect.

August 22, 2023 at 11:07 am #14270367

Dražen
Supporter

Languages: English (English )

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

Hello,

you have been inactive for some time, so lets continue in ticket.

Please go to this website: hidden link

Install the theme and create 1 page with a dummy short example and 2 widgets that you wish to translate.

Let me know steps you did and how can I see the issue.

Regadrs,
Drazen

August 22, 2023 at 12:10 pm #14270903

stefanE-2

hidden link

August 22, 2023 at 12:17 pm #14270923

Dražen
Supporter

Languages: English (English )

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

Hello,

I am afraid I would need you to show me an example in a simple example with a WP default theme and or a theme that is commercial.

We can not support or debug issues with custom-built themes / custom code as I think it is your case, for such we advise hiring WPML contractors:

- https://wpml.org/contractors/

If you think there is a WPML bug, we would still need you to show us a bug in the simple minimal environment mentioned above.

Support policy: https://wpml.org/purchase/support-policy/

If you have any other related questions I would be glad to answer otherwise for further debugging your issue you would need to hire a contractor.

Regards,
Drazen

August 22, 2023 at 12:23 pm #14271093

stefanE-2

I think its a bug because the changes in the xml wpml settings have no effect

August 22, 2023 at 12:26 pm #14271097

Dražen
Supporter

Languages: English (English )

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

Hello,

sure, but to exclude it is caused by custom code, which I believe is is and as I said before, you will need to show us an simple example with WP default theme and compatible plugins. We can not debug issues with custom code and custom-developed themes.

If you can reproduce such and shows a bug, let me know and I can provide a new test site.

Regards,
Drazen

August 22, 2023 at 12:28 pm #14271103

stefanE-2

But WPML says in the documentation that its possible via the xml config to translate custom themes ore themes that aren't optimised for wpml. And this is not working.

August 22, 2023 at 12:51 pm #14271287

Dražen
Supporter

Languages: English (English )

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

Hello,

it is possible and should work, and from first glance, your XML code looks fine. So you should test with the WP default theme and with only WPML plugins to exclude any issue caused by custom code, and follow our docs for ACF, ACF blocks and etc.

- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/
- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/translating-acf-blocks-with-wpml/

If you have any specific questions I would be glad to help.

Regadrs,
Drazen