PWABuilder shows language warnings when using language codes like "EN-gb" or "DE-de"

Created on 7 February 2024, 9 months ago
Updated 22 February 2024, 9 months ago

Problem/Motivation

The "Language" field states the following on its description:

The primary language of this web application (e.g. "en", "EN-gb", "DE-de").

with an additional link to https://w3c.github.io/manifest/#lang-member.

But if we actually type in "EN-gb" or "DE-de" and analyze our manifest, using https://www.pwabuilder.com/, PWABuilder doesn't see "EN-gb" or "DE-de" as a valid language member and throws a warning:

The manifest.json looks "just fine":

The w3c documentation states, that using language subtags is just fine. I am unsure whether we should adjust the description or not.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany Grevil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024