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

@christianliebel commented on this pull request.



> +            <li>Let |languageTags:ordered set| be the [=map/keys=] of
+            |languageMap:ordered map|.
+            </li>
+            <li>Set |map|[|member|] to a new [=ordered map=].
+            </li>
+            <li>[=Set/For each=] |languageTag:string| of |languageTags|, run
+            [=process a localized text value=], passing
+            |languageMap|[|languageTag|] as the [=localized value=],
+            |languageTag|, |map|, |member|, and |manifest direction|.
+            </li>
+          </ol>
+          <p>
+            To <dfn>process a localized text value</dfn>, given [=string=] or
+            [=ordered map=] |localizedValue|, [=string=] |languageTag:string|,
+            [=ordered map=] |map:ordered map|, [=string=] |member:string|, and
+            [=text-direction=] |manifest direction:string|:

I used “manifest direction“ for the other algos in this PR, do you think I should change it everywhere? Also, is “defaultDirection” or “default direction” correct? The algos in our spec do it both ways.

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

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

Received on Wednesday, 10 July 2024 06:44:57 UTC