-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option for localisation #1
Comments
I wonder if another approach could be the "hybrid approach": https://www.w3.org/TR/localizable-manifests/#hybrid ? We could have a default That way it would reduce the minimal implementation needed (just ignore the additional files), and no transforms needed by the Server when serving the manifests. |
Notes from a talk with @jstarpl: It would probably be best to not go with the hybrid approach, and rather have all translations in the on manifest file, as this would add no requirements on the Server, and allows the Server to expose all translations in one go, putting the load of interpreting the localized data on the Controller - which should be well suited to handle this anyway. |
Notes from talk in the HTML group.
|
I think it would be great if, from the get-go, we would have an option for these strings (which are user-presentable) to be localizable. Obviously, a fallback to a simple string is neccessary, but making sure that these strings can be localized in 1.0 of this spec will mean that localization will be at least taken into account by implementers in some basic way.
tmp-GraphicsDefinition/definition/definition/json-schema/lib/action.json
Lines 6 to 13 in a677653
W3C proposes this format: https://www.w3.org/TR/localizable-manifests/#language-maps for "Unitary manifests" , which I think is simple enough to use:
I think going for a "Unitary manifest" rather than using content negotiation at the HTTP level, makes sense since it will allow the end User Agent to make the decision which localization to use.
The text was updated successfully, but these errors were encountered: