Problem/Motivation
If we have a language code with capital letter (example: fr-CH) the translation for Civic Cookie will not be loaded.
Steps to reproduce
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.
Proposed resolution
Alter the `getCccConfigJson` method in `CCC9Config` class to return lower case.
Issue fork civicccookiecontrol-3562279
Show commands
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:
- 3562279-fix-translation
changes, plain diff MR !27
Comments
Comment #2
igoragatti commentedComment #4
igoragatti commentedComment #5
c.moisiadis commentedComment #12
tper commented