-
Notifications
You must be signed in to change notification settings - Fork 16
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
Administrative area keys for China #38
Comments
Hey, thanks for opening this issue.
I would definitely love to use ISO 3166-2 for the administrative area keys, but for consistency with libaddressinput, we need to follow Google's data set. For corrections to the data set, especially the ISO 3166-2 codes, I encourage you to open an issue here in the https://github.com/google/libaddressinput repo, it might take a while for Google to update their data set, but as soon as this happens, GitHub actions will automatically create a PR here to update the data set. |
Thanks for a quick response @F21, there is already an issue open for correcting the dataset for China google/libaddressinput#195 |
Thanks, will follow that issue as well. It seems Google is dragging their feet on that one. |
Hi,
I wanted to inquire about some observations I've made in generated data:
Administrative Area Keys: The keys used to identify administrative areas in China appear to be numeric within the data. However, the ISO 3166-2 codes is not numeric. Please refer to https://en.wikipedia.org/wiki/ISO_3166-2:CN.
Locality IDs and Language: The locality IDs for China's administrative areas seem to be presented in Han characters for the "en" (English) language. Shouldn't these IDs be in English language?
The current format causes inconsistencies while attempting to interact with the library for Chinese addresses. Also, using Han characters for locality IDs in the "en" language could lead to confusion for users expecting English.
Is it possible to adopt ISO 3166-2 standard for administrative area keys in China and displaying locality IDs in English for the "en" language?
The text was updated successfully, but these errors were encountered: