Re: [w3c/manifest] Add members for localization (PR #1101)

@christianliebel commented on this pull request.



> +              `lang` (optional)
+            </dt>
+            <dd>
+              A [=language tag=].
+            </dd>
+            <dt>
+              `dir` (optional)
+            </dt>
+            <dd>
+              The [=text-direction=].
+            </dd>
+          </dl>
+          <p>
+            When a plain [=string=] is used, or when the `lang` or `dir`
+            members are omitted, `lang` falls back the [=language tag=] of the
+            [=language map=] key, and `dir` falls back to the [=manifest/dir=]

@marcoscaceres I split this into [two paragraphs](https://pr-preview.s3.amazonaws.com/w3c/manifest/pull/1101.html#localizing-text-resources:~:text=When%20a%20string%20is%20used%2C%20or%20when%20the%20dir%20member%20of%20the%20localized%20text%20resource%20is%20missing%2C%20the%20default%20direction%20(dir%20member%20of%20the%20manifest)%20is%20applied.). Does that help?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/1101#discussion_r1730369352
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/pull/1101/review/2259304028@github.com>

Received on Sunday, 25 August 2024 14:25:46 UTC