Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
XMP: invalid xml:lang content #632
tl;dr: Chooser outputs XMP containing
(Have a browser request the page with
or with curl:
Enter RDF-parts (everything from
I guess the problem is in https://github.com/creativecommons/creativecommons.org/blob/master/python_env/src/cc.engine/cc/engine/util.py#L542
Quick and Easy fix
Thank you for reporting this.
You are correct that we are using the gettext locale identifier rather than BCP 47:
I'm actually looking at some locale-related issues in the code tomorrow, so I will try your suggested fix then.