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

@dmurph 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|:

Whatever format you want here is fine. In this algorithm it is used if the value doesn't specify a direction, so that's why I called it the default.

I'm ok with "manifest direction" too.

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

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

Received on Wednesday, 10 July 2024 23:44:10 UTC