Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to export alt=variant versions of elements #139

Open
movermeyer opened this issue Apr 22, 2022 · 0 comments
Open

Figure out how to export alt=variant versions of elements #139

movermeyer opened this issue Apr 22, 2022 · 0 comments

Comments

@movermeyer
Copy link
Collaborator

movermeyer commented Apr 22, 2022

Many of the elements in CLDR have alt=variant versions that are supposed to be used "in some circumstances".

Figure out how we should export these.


Examples

eraNames

common/main/zu.xml

<eraNames>
  <era type="0">BC</era>
  <era type="0" alt="variant">BCE</era>
  <era type="1">AD</era>
  <era type="1" alt="variant">CE</era>
</eraNames>

Currency symbol

common/main/af.xml

<currency type="TRY">
  <displayName>Turkse lira</displayName>
  <displayName count="one">Turkse lira</displayName>
  <displayName count="other">Turkse lira</displayName>
  <symbol draft="contributed">TRY</symbol>
  <symbol alt="narrow" draft="contributed">₺</symbol>
  <symbol alt="variant" draft="contributed">TL</symbol>
</currency>

territory names

common/main/de.xml

<territory type="CD">Kongo-Kinshasa</territory>
<territory type="CD" alt="variant">Kongo (Demokratische Republik)</territory>

common/main/de.xml

language names

<language type="ckb">Zentralkurdisch</language>
<language type="ckb" alt="menu">Kurdisch (Sorani)</language>
<language type="ckb" alt="variant">↑↑↑</language>

dayPeriod

common/main/en.xml

<dayPeriod type="am">AM</dayPeriod>
<dayPeriod type="am" alt="variant">am</dayPeriod>

common/main/en.xml

<field type="dayperiod-short">
  <displayName>AM/PM</displayName>
  <displayName alt="variant">am/pm</displayName>
</field>

script names

common/main/en.xml

<script type="Arab">Arabic</script>
<script type="Arab" alt="variant">Perso-Arabic</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant