diff --git a/Readme.md b/Readme.md index 5b593934..00bf9093 100644 --- a/Readme.md +++ b/Readme.md @@ -94,7 +94,7 @@ A __lightweight__ & __gdpr compliant__ cookie consent plugin written in plain ja page_scripts: true, // default: false // delay: 0, // default: 0 - // auto_language: false, // default: false + // auto_language: null // default: null; could also be 'browser' or 'document' // autorun: true, // default: true // force_consent: false, // default: false // hide_from_bots: false, // default: false @@ -219,7 +219,7 @@ A __lightweight__ & __gdpr compliant__ cookie consent plugin written in plain ja page_scripts: true, // default: false // delay: 0, // default: 0 - // auto_language: false, // default: false + // auto_language: '', // default: null; could also be 'browser' or 'document' // autorun: true, // default: true // force_consent: false, // default: false // hide_from_bots: false, // default: false @@ -427,7 +427,7 @@ Additional methods for an easier management of your scripts and cookie settings // ... toggle: { value: 'analytics', // cookie category - enabled : false, // default status + enabled: false, // default status readonly: false // allow to enable/disable // reload: 'on_disable', // allows to reload page when the current cookie category is deselected } @@ -564,7 +564,7 @@ Below a table which sums up all of the available options (must be passed to the | `force_consent` | boolean | false | Enable if you want to block page navigation until user action (check [faq](#faq) for a proper implementation) | | `revision` | number | 0 | Specify this option to enable revisions. [Check below](#how-to-enablemanage-revisions) for a proper usage | | `current_lang` | string | - | Specify one of the languages you have defined (can also be dynamic): `'en'`, `'de'` ... | -| `auto_language` | boolean | false | Automatically detect language based on the user's browser language, if language is not defined => use specified `current_lang` | +| `auto_language` | string | null | Language auto-detection strategy. Null to disable (default), `"browser"` to get user's browser language or `"document"` to read value from `` of current page. If language is not defined => use specified `current_lang` | | `autoclear_cookies` | boolean | false | Enable if you want to automatically delete cookies when user opts-out of a specific category inside cookie settings | | `page_scripts` | boolean | false | Enable if you want to easily `manage existing