You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLDR has an alt attribute that can be used to indicate a different things:
alt=proposed\d* and alt=#{variantname}-proposed\d* indicate proposed values that will replace the non-alt version of the value. They will always have a draft attribute, since as soon as they get the accepted status, the non-alt version is replaced.
alt=#{variantname} indicates an alternative value that really ought to be used in specific conditions.
Currently, ruby-cldr filters out values with an alt attribute in some places using the Base#alt? method. However, it's inconsistently applied.
We might want to export data with alt=#{variantname} style attributes, perhaps using a separate key name. cldr-json does this:
CLDR has an
alt
attribute that can be used to indicate a different things:alt=proposed\d*
andalt=#{variantname}-proposed\d*
indicate proposed values that will replace the non-alt
version of the value. They will always have adraft
attribute, since as soon as they get theaccepted
status, the non-alt
version is replaced.alt=#{variantname}
indicates an alternative value that really ought to be used in specific conditions.Currently,
ruby-cldr
filters out values with analt
attribute in some places using theBase#alt?
method. However, it's inconsistently applied.We might want to export data with
alt=#{variantname}
style attributes, perhaps using a separate key name.cldr-json
does this:Upstream CLDR XML:
gets exported as:
The text was updated successfully, but these errors were encountered: