Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Make admin1 required in Australia and Turkey

Đang mở
#211 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
localization

Hướng nghiên cứu

Xem xét các tệp định dạng quốc gia cho Australia và Turkey, sau đó so sánh chúng với các trường hợp Malaysia, Argentina và Ireland được thảo luận trong issue. Cập nhật trạng thái bắt buộc của admin1 cho Australia và Turkey, đồng thời giữ nguyên các trường hợp dùng để so sánh; công việc được coi là hoàn tất khi hai quốc gia đó yêu cầu admin1 và các định dạng khác đã xem xét giữ nguyên hành vi hiện tại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I believe that admin level 1 should be required for the following countries, even though they are currently optional in the format files.

Australia. See https://auspost.com.au/sending/check-sending-guidelines/addressing-guidelines for the postal guidelines: "The last line should contain the place name or post office of delivery, state or territory abbreviation and postcode. This line should be printed in capitals without punctuation or underlining, with the postcode put last.".

Turkey. See https://docs.informatica.com/data-as-a-service/address-verification/h2l/address-verification-best-practices-for-turkey/address-verification-best-practices-for-turkey/key-address-elements.html

I have also checked every other country in the data set where admin1 is supported but optional. I think it's just the following three, and they look correct to me.

Malaysia. The examples on https://www.pos.com.my/business/business-mail-solutions/products/standard-mail.html include some with the province written and some without it.

Argentina. See https://docs.informatica.com/data-as-a-service/address-verification/h2l/address-verification-best-practices-for-argentina/address-verification-best-practices-for-argentina/key-address-elements.html.

Ireland. See https://correctaddress.anpost.ie/pages/Search.aspx, where the county should be shown on an envelope "where required". That implies it is not always required. As a concrete example where that is true, addresses in Dublin frequently leave off the "Co. Dublin" when formatting the address.

Ngôn ngữ chính
C++
Star
629
Fork
109
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của google/libaddressinput

Tất cả issue của google/libaddressinput

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.