ruby-i18n / ruby-i18n/ruby-cldr
Figure out how to export `alt=variant` versions of elements
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 78
- Forks
- 18
- Avg merge
- 9d 8h
- Merged PRs (30d)
- 3
Description
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
<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
<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
<territory type="CD">Kongo-Kinshasa</territory>
<territory type="CD" alt="variant">Kongo (Demokratische Republik)</territory>
language names
<language type="ckb">Zentralkurdisch</language>
<language type="ckb" alt="menu">Kurdisch (Sorani)</language>
<language type="ckb" alt="variant">↑↑↑</language>
dayPeriod
<dayPeriod type="am">AM</dayPeriod>
<dayPeriod type="am" alt="variant">am</dayPeriod>
<field type="dayperiod-short">
<displayName>AM/PM</displayName>
<displayName alt="variant">am/pm</displayName>
</field>
script names
<script type="Arab">Arabic</script>
<script type="Arab" alt="variant">Perso-Arabic</script>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the exporter behavior against the cited CLDR examples in common/main/zu.xml, common/main/af.xml, common/main/de.xml, and common/main/en.xml. Determine the export policy for alt="variant" across the listed element types, and consider how that policy should be verified before treating the work as complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- localization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100