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

@christianliebel commented on this pull request.



> +            <li>If |languageMap| is not an [=ordered map=], return.
+            </li>
+            <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|,

This is not necessarily the manifest's default language tag but the language map's key. So I think “languageTag” is correct here.

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

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

Received on Wednesday, 10 July 2024 06:18:08 UTC