You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple examples are provided of creating a "shortcut" in a manifest. Here is one such:
"shortcuts": [
{
"name": "Play Later",
"description": "View the list of podcasts you saved for later",
"url": "/play-later",
"icons": [
{
"src": "/icons/play-later.svg",
"type": "image/svg+xml"
}
]
},
The name and description fields do not have their own lang and dir values nor does the "shortcut" structure have the ability to provide an override. The whole manifest does have a lang and dir, but this doesn't allow for separate localizations nor for local overrides of the values. I18N normally recommends the ability to provide a local override when there is file-level metadata.
This design also suggests that some language is more privileged than all others or that large sections of the file must be repeated in order to localize the full experience described by the manifest.
The text was updated successfully, but these errors were encountered:
This is part & parcel of the translations work, no? Once we solve it for the manifest overall, it'll be solved for shortcuts. We don't need a before solution just for shortcuts.
1.1.4 Creating shortcuts
https://w3c.github.io/manifest/#creating-shortcuts
Multiple examples are provided of creating a "shortcut" in a manifest. Here is one such:
The
name
anddescription
fields do not have their ownlang
anddir
values nor does the "shortcut" structure have the ability to provide an override. The whole manifest does have alang
anddir
, but this doesn't allow for separate localizations nor for local overrides of the values. I18N normally recommends the ability to provide a local override when there is file-level metadata.This design also suggests that some language is more privileged than all others or that large sections of the file must be repeated in order to localize the full experience described by the manifest.
The text was updated successfully, but these errors were encountered: