• Resolved magdamunro

    (@magdamunro)


    I have this EU site running with the latest MAMP locally that happens to use Swedish.

    Background:
    Query Monitor shows me that get_locale(): sv_SE, get_user_locale(): en_US, determine_locale(): sv_SE, get_language_attributes(): lang=”sv-SE” and Text Domain: complianz-gdpr, Type: gettext, Caller: COMPLIANZ->hooks(), Translation files: wp-content/languages/plugins/complianz-gdpr-sv_SE.mo. The wp-plugins-complianz-gdpr-stable-sv.po was used as base.

    Site language is set to Swedish and tested pages contain <html lang=”sv-SE”>.
    All other plug-ins load Swedish localisation files. I see no errors with debug on.

    This happens:

    The Cookie Consent Window which includes my translations as well as any other aspect of Complianz displays in English.

    I expected:

    Loaded localization to display in the site language.

    Is Compliantz simply loading localisation too early or what could be going on? Why isn’t the set language displayed when all other parts of the site are?

    • This topic was modified 2 years, 2 months ago by magdamunro.
  • The topic ‘localisation apparently loads but does not display’ is closed to new replies.