google / libaddressinput

Google’s postal address library, powering Android and Chromium
Apache License 2.0
572 stars 103 forks source link

sub-region keys show as strikethrough text in wiki #218

Open ehom opened 3 years ago

ehom commented 3 years ago

Page containing Issue: https://github.com/google/libaddressinput/wiki/AddressValidationMetadata

There will also be data for the French version, such as data/CA/NB--fr, where the value for the name is “Nouveau-Brunswick“ instead of ”New Brunswick“. Note however that the keys for a sub-region are language specific and it is not safe to assume that sub-region keys for an alternate language will be in the same order, or even the same script (see data/HK and data/HK--en, which have sub_keys values "九龍~香港島~新界" and “Hong Kong Island~Kowloon~New Territories” respectively).

"九龍~香港島~新界" and “Hong Kong Island~Kowloon~New Territories”

Should be:

"九龍~香港島~新界" and “Hong Kong Island~Kowloon~New Territories

in

There will also be data for the French version, such as data/CA/NB--fr, where the value for the name is “Nouveau-Brunswick“ instead of ”New Brunswick“. Note however that the keys for a sub-region are language-specific and it is not safe to assume that sub-region keys for an alternate language will be in the same order, or even the same script (see data/HK and data/HK--en, which have sub_keys values "九龍~香港島~新界" and “Hong Kong Island~Kowloon~New Territories” respectively).