- From: Christian Liebel <notifications@github.com>
- Date: Sat, 13 Jul 2024 01:23:41 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/manifest/pull/1101/review/2176193724@github.com>
@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|, @dmurph This value is the language map's key. It is used if the localized value doesn't have a "lang" member (maybe related: https://github.com/w3c/manifest/pull/1101#discussion_r1676783850). I think the wording "default language tag" could be confusing if we also use "default direction" as the "default language tag" is the language map key (not the root/manifest language), but the "default direction" would be the root/manifest direction. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/manifest/pull/1101#discussion_r1676784736 You are receiving this because you are subscribed to this thread. Message ID: <w3c/manifest/pull/1101/review/2176193724@github.com>
Received on Saturday, 13 July 2024 08:23:45 UTC