Re: [webauthn] authenticatorDisplayName should use a localizable language map (#2151)

Presumably the PR that goes along with this will provide a more proper "spec" for what constitutes a language map? The linked "spec" only provides two examples without actually properly defining its structure. Does the following Web IDL define it more properly?

```webidl
typedef DOMString LanguageTag;

enum LanguageDirection {
    "ltr",
    "rtl"
}

dictionary LanguageMapValue {
    required DOMString value;
    lang LanguageTag;
    dir LanguageDirection;
}

typedef record<LanguageTag, LanguageMapValue> LanguageMap;
```

where `LanguageTag` must conform to [RFC 5646 ยง 2.1. ](https://datatracker.ietf.org/doc/html/rfc5646#section-2.1)

-- 
GitHub Notification of comment by zacknewman
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2151#issuecomment-2375201479 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 25 September 2024 20:33:46 UTC