Closed (fixed)
Project:
Civic Cookie Control
Version:
4.6.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Dec 2025 at 16:13 UTC
Updated:
11 Mar 2026 at 17:05 UTC
Jump to comment: Most recent
If we have a language code with capital letter (example: fr-CH) the translation for Civic Cookie will not be loaded.
1. Install site
2. Install and configure module
3. Add a language with capital letter
4. translate it in Civic Cookie module (add the language, same as you added in multilingual config)
5. Translation is not loaded.
Alter the `getCccConfigJson` method in `CCC9Config` class to return lower case.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
igoragatti commentedComment #4
igoragatti commentedComment #5
c.moisiadis commentedComment #12
tper commented