• Resolved Stratos

    (@tsikoudia)


    Hello and thank you for the excellent plugin.

    I have the following issue:
    A week ago I followed the steps of this article and got my Cookie Policy to show the translated content that is shipped with Complianz.

    Today I found out that the Cookie Policy pages again only show the english text in every language (NL, DE, IT, FR)

    The plugin used is WPML.

    I’ve tried to clear WPML cache, deleted the Cookie Policies and re-created them both manually (adding the Complianz block or just the shortcode) and automatically from the Wizard and by duplicating the content from the english page.

    I see that the mo and po files are indeed located on my server in wp-content/languages/plugins and the translations are in those files.

    Both WPML and Complianz are updated to the latest version.

    I don’t see the option to force update translations in Dashboard->Updates.

    I would appreciate any help to resolve this ??

    Thanks
    Stratos

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @tsikoudia,

    I don’t see a way to, for example, change to Dutch. Could you show me the translated documents, or where I can change the language?

    regards Aert

    Thread Starter Stratos

    (@tsikoudia)

    Hello Aert, thanks for the quick reply.

    I had the languages hidden in WPML. Now you can access Dutch.
    Let me know if you need access to the rest and I will unhide them.

    Best,
    Stratos

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @tsikoudia,

    Could you save your permalinks and see if this works?

    regards Aert

    Thread Starter Stratos

    (@tsikoudia)

    Hi, I saved the permalinks just now but it didn’t work unfortunately.

    Best,
    Stratos

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @tsikoudia,

    Just to be certain, the Dutch page is a duplicate (only the shortcode) of the default page?

    Please delete any cookie policies in your trash as well, save permalinks again.

    The language seems to be detected correctly, seeing some strings are translated and the cookie banner is in Dutch as well. So I’m guessing a configuration issue,

    Let me know if any of the above work,

    groet Aert

    Thread Starter Stratos

    (@tsikoudia)

    Hey Aert, thanks for your help so far.

    About your first question: I created the Dutch page by going to the English page and selecting Duplicate under Translate this document in the Language panel.

    These are the steps I just did after your last message:

    1. Deleted the Cookie Policy pages for all languages
    2. Emptied the trash for all languages
    3. Re-created the English Cookie Policy page by going to the Complianz Wizard->Documents->Create missing document.
    4. Saved Permalinks
    5. Then I went to the newly created English page and selected the Duplicate option under Languages for Dutch.
    6. Saved Permalinks again just in case

    Still seeing the english text in the Dutch page.
    (The Cookie banner was translated manually using the String Translation of WPML.)

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @tsikoudia,

    I would suspect on full deletion and creating a new one, this would change as well:

    This Cookie Policy was last updated on november 11, 2020 and applies to citizens of the European Economic Area.

    Is there any stubborn caching on your server?

    groet Aert

    Thread Starter Stratos

    (@tsikoudia)

    I don’t see any caching functionalities in my hosting.

    To check your hypothesis I looked at my local installation:
    I have a local installation of the website where the shipped languages work correctly.

    I just deleted these local Cookie Policy pages and re-created them through the wizard but the date remained the same. So I imagine the date doesn’t change unless there are some actual changes in the content of the policy.

    Any other ideas?

    Thread Starter Stratos

    (@tsikoudia)

    I didn’t manage to fix the issue and the shipped languages still won’t appear automatically.

    However I found a temporary solution: I downloaded the .po file from my server (languages/plugins) for each language and I imported it through WPML from the String Translation page.

    Plugin Contributor jarnovos

    (@jarnovos)

    @tsikoudia
    Thank you for sharing your findings, glad to hear you found a solution.

    It seems that this was related to WPML, since manually importing and overwriting the related .po files fixes the issue.

    I’m marking this as resolved, let us know if we can assist further.

    Thanks,
    Jarno

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cookie Policy translation won’t show up’ is closed to new replies.