Open aphillips opened 1 year ago
This is solved in the latest proposal (https://github.com/w3c/manifest/issues/1045). Eg:
{
"short_name": "dog",
"localized_short_names": [
{"value": "perro", "lang": "es", "dir": "ltr"},
{"value": "כֶּלֶב", "lang": "he", "dir": "rtl"}
]
}
(general) https://github.com/WICG/manifest-incubations/blob/gh-pages/translations-explainer.md
The
translations
block allows thedir
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 originaldir
should apply to those strings--not a supplied value associated with translated values.