• Resolved attila.vecerek

    (@attilavecerek)


    Hello,
    I’m using your plugin on a multilingual site managed by WPML translation. I have found that a particular admin text (the_champ_login[email_error_message]) can be translated through the String translation interface, whereas others (the_champ_login[title], the_champ_login[email_popup_text]) can’t.

    Image 1
    Image 2

    So, I tried to create a wpml-config.xml file for those admin texts which then got loaded into the WPML’s String translation. However, translating those makes no change – the translated strings are not loaded.

    Image 3

    wpml-config.xml:

    
    <wpml-config>
    	<admin-texts>
    		<key name="the_champ_login">
    			<key name="title"/>
    			<key name="email_popup_text"/>
    			<key name="email_error_message"/>
    	        </key>
    	</admin-texts>
    </wpml-config>
    
    

    Could you take a look at the problem, please? Thank you.

    • This topic was modified 7 years, 8 months ago by attila.vecerek.
    • This topic was modified 7 years, 8 months ago by attila.vecerek. Reason: Replace img src
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Heateor Support

    (@heateor)

    First of all, you are trying to translate dynamic strings (the strings are saaved in variables).
    Second, we are not sure about our plugin’s compatibility with WPML.
    We will look into it and will let you know how to achieve what you are trying to do.

    Thread Starter attila.vecerek

    (@attilavecerek)

    Thank you for clarification. However, then I don’t really understand how come that particular user generated text appeared over there, in the string translation…

    Plugin Author Heateor Support

    (@heateor)

    Translation contains default value of these variables that appear when you activate the plugin after installing it first time.

    Thread Starter attila.vecerek

    (@attilavecerek)

    So, basically I shouldn’t change the text at all and I’ll be able to translate the default values, right?

    Plugin Author Heateor Support

    (@heateor)

    As, we mentioned we have not tested our plugin with WPML. Still, you can give it a try and let us know how it goes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[WPML] Some admin texts cannot be translated’ is closed to new replies.