- From: Addison Phillips <notifications@github.com>
- Date: Mon, 15 May 2023 22:32:30 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 May 2023 05:32:35 UTC
Serving a correctly localized manifest certainly makes sense, but this can be a little complicated. If the manifest files are not generated dynamically but instead use path or file-naming to separate them, an application might choose to bundle a number of related locales together with locally variant icons. For example:
```json
"lang": "fr",
"dir": "ltr",
"name": "une application",
"icons": [
{
"lang": "fr-FR",
"comment": "a bit of bleu-blanc-rouge",
"src": "icon-for-france.jpg"
},
{
"lang": "fr-CH",
"comment": "red with a little white +",
"src": "icon-for-suisse.jpg"
},
{
"comment": "no special flag-related motif",
"src": "default-french-icon.jpg"
}
]
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/1077#issuecomment-1549015376
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/manifest/issues/1077/1549015376@github.com>
Received on Tuesday, 16 May 2023 05:32:35 UTC