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 1 reply, has 2 voices.

Last updated by Andreas W. 4 months ago.

Assigned support staff: Andreas W..

Author Posts
June 19, 2019 at 3:12 pm #4052649

themeisle

Tell us what you are trying to do?

I want to add compatibility with WPML in my plugin. I saw that there is no need for wpml-config.xml anymore, the plugin autoregister all theme mods by default. I saw that you can choose not to autoregister fields. My question, is there a way to tell WPML not to register a theme mod? For example, I have a theme mod that stores a JSON. If a user will translate that JSON and he will miss a quote or something like that, the whole section will be compromised. What I want to do is to tell WPML "do not register this theme mod" and after that, I want to translate each JSON component individually

June 19, 2019 at 10:48 pm #4055139

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for contacting the WPML Support.

Sadly, we can not answer custom request on the forum, but I would like to invite you to submit your request to our developers by using our GoGlobal Program, which we iniciated in order to work together on making WordPress multilingual.

https://wpml.org/documentation/theme-compatibility/go-global-program/

Further, those documentations might be useful for your production process.

https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/
https://wpml.org/forums/topic/strings-do-not-appear-in-string-translation/

Kind regards
Andreas