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

Austlang codes need to be put into the schema #209

Open
nthieberger opened this issue Sep 13, 2023 · 2 comments
Open

Austlang codes need to be put into the schema #209

nthieberger opened this issue Sep 13, 2023 · 2 comments
Assignees

Comments

@nthieberger
Copy link

nthieberger commented Sep 13, 2023

At the moment validation fails if a language code is given as <term xml:lang="W40">, it needs to use ISO-639-3 <term xml:lang="nrk">

Can a code specify that it is using Austlang and then be valid?

@Conal-Tuohy
Copy link
Collaborator

Conal-Tuohy commented Sep 18, 2023

It is possible to use Austlang code and still comply with the relevant standard for xml:lang (BCP47)

Section 2.2.7 specifies how to use "private" (extension) codes. We need to decide on a convention for using Austlang codes.

At its simplest, a "private" code is one which starts with x-, so the simplest way for us to use Austlang would be:

<term xml:lang="x-W40">foo</term>

Is that enough? We won't have other private codes, will we @nthieberger ? (i.e. apart from Austlang) If we did want to be able to use other private language codes, we'd need to include an Austlang-specific segment into that code as well, e.g.

<term xml:lang="x-austlang-W40">foo</term>

@nthieberger
Copy link
Author

nthieberger commented Sep 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants