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

@marcoscaceres commented on this pull request.



> +            |normalizedValue|["lang"] to |languageTag|.
+            </li>
+            <li>If "dir" does not [=map/exist=] in |normalizedValue|, or
+            [=text-direction list=] does not [=list/contain=]
+            |normalizedValue|["dir"], [=map/set=] |normalizedValue|["dir"] to
+            |manifest direction|.
+            </li>
+            <li>[=Map/Set=] |map|[|member|][|languageTag|] to
+            |normalizedValue|.
+            </li>
+          </ol>
+          <p class="note">
+            The [=process a localized text value=] algorithm takes both a
+            [=string=] or an [=ordered map=] for the [=localized value=]
+            parameter, but the processed result will be normalized into an
+            [=ordered map=] with the `value`, `lang`, and `dir` members set.

it should be possible to link them like this:

```suggestion
            [=ordered map=] with the [=manifest/*_localized/value=], [=manifest/*_localized/lang=], and [=manifest/*_localized/dir=] members set.
```

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

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

Received on Thursday, 11 July 2024 01:16:58 UTC