Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>Test that name_localized falls back to the language-only key</title>
<link rel="help" href="https://w3c.github.io/manifest/#name-member" />
<link rel="help" href="https://w3c.github.io/manifest/#dfn-localizable-member" />
<link rel="manifest" href="resources/name_localized-member-lang-fallback.webmanifest" />
<script src="resources/name_localized-member-manual.js"></script>
<h1>Testing language-only fallback for <code>name_localized</code></h1>
<p>
Set your browser locale to a region variant not in the manifest (e.g.,
<code>en-GB</code>, <code>fr-CA</code>, or <code>ja-JP</code>). Install
this page as a web application. To pass, the installed app name must
match the language-only key (e.g., "English Name" for
<code>en-GB</code>, "Nom Français" for <code>fr-CA</code>).
</p>