WordPress.org

Forums

Polylang
[resolved] Polylang with Cookie Law Info (5 posts)

  1. mapdi
    Member
    Posted 1 year ago #

    Hi,
    first thanks for your great plugin!

    I found this nice plugin and want to use it:
    http://wordpress.org/extend/plugins/cookie-law-info/

    @Chouby
    Unfortunately, it is not multi-lingual. Are you interested in to help making it work with your plugin. This would be great! Not only 4 me .. ;)

    Someone made it working with the WPML-Plugin.
    http://wordpress.org/support/topic/wpml-integration-2?replies=20#post-4550125

    http://wordpress.org/support/topic/cookie-law-info-on-multilingual-sites?replies=2

    https://wordpress.org/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    Try using the wpml-config.xml proposed by Francisco Torres. If it works with WPML, it should work with Polylang too. Unfortunately, it seems taht the plugin author includes the plugin version in the option name which means that you will have to update the wpml-config.xml file each time the plugin cookie law info is updated.

  3. miguelcortereal
    Member
    Posted 1 year ago #

    It's working fine with me using wpml-config.xml proposed by Francisco Torres.

  4. mapdi
    Member
    Posted 1 year ago #

    This doesn't work for me?! But why? I used with the following lines and uploaded the "wpml-config.xml" in the root dirctory of "cookie-law-info" ... but cant see the new Strings. Pls help:

    <wpml-config>
    	<admin-texts>
    	        <key name="CookieLawInfo-1.1.2">
                            <key name="notify_message" />
                            <key name="button_1_text" />
                            <key name="button_1_url" />
                            <key name="button_2_text" />
                            <key name="button_2_url" />
                            <key name="showagain_text" />
    						<key name="showagain_tab" />
                    </key>
    	</admin-texts>
    </wpml-config>
  5. mapdi
    Member
    Posted 1 year ago #

    Now it works for me too! ;-) Thanks @all

    btw. the key name shouldn't be changed:

    <wpml-config>
    	<admin-texts>
    	        <key name="CookieLawInfo-0.9">
                            <key name="notify_message" />
                            <key name="button_1_text" />
                            <key name="button_1_url" />
                            <key name="button_2_text" />
                            <key name="button_2_url" />
                            <key name="showagain_text" />
                    </key>
    	</admin-texts>
    </wpml-config>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.