Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid and recommended format for xml:lang attribute? #83

Open
stefanjakobsson opened this issue Nov 2, 2020 · 0 comments
Open

Valid and recommended format for xml:lang attribute? #83

stefanjakobsson opened this issue Nov 2, 2020 · 0 comments
Assignees
Labels

Comments

@stefanjakobsson
Copy link
Contributor

stefanjakobsson commented Nov 2, 2020

The schema documentation for the xml:lang attribute states that allowed values are "IETF BCP 47, ISO 639-1 language codes, e.g. en, de, fr". This seems a bit contradictory since BCP 47, as far as I can tell, allows a lot more than just ISO 639-1. Is everything allowed by BCP 47 valid?

Related to the above: is there a recommended format? We are having some problems with https://citation.crosscite.org/ not picking up the english title of our datasets, and I was wondering if this is due to the fact that we are using "en" (ISO 630-1) instead of "en-US" or "en-GB".

@mfenner mfenner added the bug label Jan 1, 2021
@KellyStathis KellyStathis self-assigned this Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants