latest version

How to Enable TCF 2.2 Settings

  • Navigate to Ultimate GDPR & CCPA panel > choose Ad Choices

    ../_images/tcf1.png
  • Click Enabled button and Save Changes.

    ../_images/tcf2.png

This is the new pop-up that will appear when TCF 2.2 is enabled. Customize Ad Choices pop-up box.

../_images/tcf3.png


Translations

Our TCF modal already includes those translations:

  • English

  • Catalan

  • Czech

  • Danish

  • German

  • Greek

  • Spanish

  • Finnish

  • French

  • Galician

  • Croatian

  • Hungarian

  • Italian

  • Dutch

  • Norwegian

  • Polish

  • Portuguese (Brazil)

  • Romanian

  • Russian

  • Serbian (Cyrillic)

  • Serbian (Latin)

  • Swedish

  • Turkish

  • Chinese

Hint

WPML Support: Our plugin is compatible with the WPML plugin. It automatically detects the language and displays the appropriate modal for each language.

Customizing translations

  • You can change TCF modal texts on your website by using a WordPress filter. This lets you edit just one piece of text or all the phrases you see.

  • Remember, some parts of the text, like the list of partners, their reasons, examples, and explanations, come straight from the Transparency & Consent Framework (TCF) v2.2 official website. We use these to make sure everything is correct and follows their rules.

Note: This section is for those familiar with WordPress development. Changing these settings can affect how the plugin works, so please be careful.

<?php

/**
 * functions.php
 * Overwrite translations when using TCF modal (Ultimate GDPR & CCPA plugin)
 * Add this snippet to your functions.php (theme) or use custom wordpress plugin
 * You can customize each translation that is displayed in TCF modal.
 * List of partners, purposes, examples, descriptions can't be customized (those are fetched from official site of The Transparency & Consent Framework (TCF) v2.2)
 */

function ct_tcf_custom_translations($translations) {

    /**
     * Overwrite all strings from main translations
     * List of available languages for TCF modal:
     * 'en'  => 'English',
     * 'ca'  => 'Catalan',
     * 'cs'  => 'Czech',
     * 'da'  => 'Danish',
     * 'de'  => 'German',
     * 'el'  => 'Greek',
     * 'es'  => 'Spanish',
     * 'fi'  => 'Finnish',
     * 'fr'  => 'French',
     * 'gl'  => 'Galician',
     * 'hr'  => 'Croatian',
     * 'hu'  => 'Hungarian',
     * 'it'  => 'Italian',
     * 'nl'  => 'Dutch',
     * 'no'  => 'Norwegian',
     * 'pl'  => 'Polish',
     * 'pt_br' => 'Portuguese (Brazil)',
     * 'ro'  => 'Romanian',
     * 'ru'  => 'Russian',
     * 'sr_cyrl' => 'Serbian (Cyrillic)',
     * 'sr_latn' => 'Serbian (Latin)',
     * 'sv'  => 'Swedish',
     * 'tr'  => 'Turkish',
     * 'zh'  => 'Chinese'
     */

    $my_custom_translations['en'] = [
        "decline2" => "Withdraw to all",
        "consentModal" => [
            "title" => "Customise Ad Choices",
            "tab1_title" => "Ad Choices",
            "tab2_title" => "Cookie Preferences"
        ],
        "tab2" => [
            "description" => "You can manage your cookie settings for our website. We use different types of cookies to enhance your browsing experience, analyze site traffic, and personalize content and ads. While necessary cookies are always active, you have control over the other categories. Please note that changing these settings may affect your experience on our site.",
            "necessaryCookies" => "Necessary Cookies",
            "necessaryCookiesDesc" => "These are crucial for the basic operations of our website. They enable core functionalities such as security, network management, and accessibility. As they are essential for the website to work correctly, they cannot be turned off.",
            "functionalCookies" => "Functional Cookies",
            "functionalCookiesDesc" => "These cookies enable additional features on our website for a more personalized experience. They remember your preferences and settings, like language or location, making your experience more convenient and tailored.",
            "analyticsCookies" => "Analytics Cookies",
            "analyticsCookiesDesc" => "These cookies help us understand how visitors interact with our website. They collect information about your use of the site, which pages you visit, and how you navigate the site. This data is used to improve the website's functionality and user experience.",
            "advertisingCookies" => "Advertising Cookies",
            "advertisingCookiesDesc" => "These cookies are used to display relevant advertisements to you. They track your online activity to tailor advertising to your interests. By not allowing these cookies, the ads you see may be less relevant to you."
        ],
        "purposes" => [
            "purposes" => "Purposes",
            "special_purposes" => "Special Purposes",
            "features" => "Features",
            "special_features" => "Special Features",
            "partners" => "Partners",
            "li_partners" => "Partners (Legitimate Interest)",
            "cookies" => "Cookie Preferences"
        ],
        "purposeItem" => [
            "service" => "service",
            "services" => "services",
            "details" => "details"
        ],
        "serviceItem" => [
            "privacyPolicy" => "Privacy policy",
            "legitimateInterestClaim" => "Legitimate Interest claim",
            "purposesConsent" => "Purposes (Consent)",
            "purposesLegitimateInterest" => "Purposes (Legitimate Interest)",
            "specialPurposes" => "Special Purposes",
            "features" => "Features",
            "dataDeclaration" => "Data Declaration",
            "maximumCookieLifetime" => "Maximum cookie lifetime",
            "cookieExpiryRefreshed" => "Cookie expiry may be refreshed during the lifetime.",
            "trackingMethodCookies" => "Tracking method: Cookies",
            "trackingMethodOthers" => "Tracking method: Others",
            "andOthers" => "and others",
            "deviceStorage" => "Device storage",
            "standardRetention" => "Standard retention",
            "purposes" => "Purposes",
            "dataRetention" => "Data retention",
            "examples" => "Examples",
            "partners" => "Partners"
        ],
        'acceptAll' => 'Accept all',
        'acceptSelected' => 'Accept selected',
        'close' => 'Close',
        'consentNotice' => [
            'changeDescription' => 'There were changes since your last visit, please renew your consent.',
            'title' => 'Cookie Consent',
            'description' => 'Hi! Could we please enable some additional services for {purposes}? You can always change or withdraw your consent later.',
            'learnMore' => 'Let me choose',
            'testing' => 'Testing mode!',
        ],
        'contextualConsent' => [
            'acceptAlways' => 'Always',
            'acceptOnce' => 'Yes',
            'description' => 'Do you want to load external content supplied by {title}?',
        ],
        'decline' => 'I decline',
        'ok' => 'That\'s ok',
        'poweredBy' => 'Realized with Klaro!',
        'privacyPolicy' => [
            'name' => 'privacy policy',
            'text' => 'To learn more, please read our {privacyPolicy}.',
        ],
        'save' => 'Save',
        'service' => [
            'disableAll' => [
                'description' => 'Use this switch to enable or disable all services.',
                'title' => 'Enable or disable all services',
            ],
            'optOut' => [
                'description' => 'This services is loaded by default (but you can opt out)',
                'title' => '(opt-out)',
            ],
            'purpose' => 'purpose',
            'purposes' => 'purposes',
            'required' => [
                'description' => 'This services is always required',
                'title' => '(always required)',
            ],
        ],
    ];


    /**
     * OR just overwrite strings one by one
     */
    $my_custom_translations['en']["save"] = 'Save';
    $my_custom_translations['en']["service"]['required']['title'] = '(always required)';

    return $my_custom_translations;
}
add_filter('ct_ultimate_gdpr_tcf_translations', 'ct_tcf_custom_translations');