Open aarongustafson opened 2 years ago
Good point, that seems reasonable to add to translations
.
start_url
is currently used as the app_id
, so we would need to ensure that translating the start_url
doesn't change the app_id
. We would also need to ensure all start_urls are on the same origin for security.
To avoid the id
issue, you could require that an id
field is set in order to support the translations
field.
Autoscrib uses this setup to indicate alternate translations of their app:
In each app, they link to a language-specific Manifest. With
translations
they should be able to have a single Manifest file for their app and if we enablestart_url
to be overridden per-language, they could roll thesemeta
values into the Manifest and maintain them in a single place.