silnrsi / sldr

SIL Locale Data Repository
MIT License
18 stars 11 forks source link

Add case tailoring information #22

Closed mhosken closed 2 years ago

mhosken commented 2 years ago

Add a way to describe case tailoring for this locale. Currently there are only 4 localised lower casings: el, lt, tr, az:

But it may be that none of the existing locales adequately reflects the case tailoring. Thus we would want to refer to a specific transform file. But there are 3 casings that a tailoring has to specify: lower, upper, title. SIL LDML already has a mechanism for referencing transforms and this is used here. Instead of an @alias, we use @transform which specifies @from for an sil:transform element. The @to for this attribute will be -Lower, -Upper, or -Title according to the required output folding.

Where to put this thing? It stands alone and seems overkill for it to have its own top level special element. We can therefore add to sil:external-resources. Let's call it sil:case-tailoring.

papeh commented 2 years ago

Required for https://jira.sil.org/browse/LT-20816