Skip to content
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

Need to associate dir with each translation #72

Open
aphillips opened this issue Apr 6, 2023 · 1 comment
Open

Need to associate dir with each translation #72

aphillips opened this issue Apr 6, 2023 · 1 comment
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. translations

Comments

@aphillips
Copy link

(general)
https://github.com/WICG/manifest-incubations/blob/gh-pages/translations-explainer.md

The translations block allows the dir value to be overridden for a given locale, but that's probably not a good idea. Instead there should be a way to associate a different base paragraph direction with each localized string (or at least with each language block). If some strings remain unlocalized, the original dir should apply to those strings--not a supplied value associated with translated values.

@aphillips aphillips added the i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. label Apr 6, 2023
@loubrett
Copy link
Collaborator

This is solved in the latest proposal (w3c/manifest#1045). Eg:

{
"short_name": "dog",
"localized_short_names": [
  {"value": "perro", "lang": "es", "dir": "ltr"},
  {"value": "כֶּלֶב", "lang": "he", "dir": "rtl"}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. translations
Projects
None yet
Development

No branches or pull requests

3 participants