Wrong state_name_type for France
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp
- 领域
- localization
调研方向
检查仓库中的法国地址元数据,找到 state_name_type 的默认值从 ZZ 条目继承的位置。将预期的 "region" 值与 pull request 161 中的讨论以及链接的 Google Maps 地址类型文档进行比较;当提供自定义地区列表时,法国不再显示 "province" 即表示完成。
由索引模型根据 Issue 内容生成。
描述
France currently inherits the default (ZZ) state_name_type of "province".
But the correct state_name_type should be "region", as explained by @comxd in https://github.com/commerceguys/addressing/pull/161
Also, Google Maps API's provide a "region" for the "administrative_area_level_1" field. (@see https://developers.google.com/maps/documentation/javascript/geocoding?hl=fr#GeocodingAddressTypes)
Sources:
https://www.lefrancaisdesaffaires.fr/wp-content/uploads/2016/05/province_et_region.pdf
https://mediateur.radiofrance.com/infos/en-province-en-region/#:~:text=La%20locution%20la%20plus%20commune,parfait%20de%20%C2%AB%20en%20province%20%C2%BB.&text=En%20province%2C%20on%20a%20la,ne%20pas%20%C2%AB%20faire%20Paris%20%C2%BB.
This isn't noticeable because there are no regions defined for France by default, but there's no reason to show a wrong label when people do provide their own region list (in libraries that allow that).
- 主要语言
- C++
- 星标
- 629
- 派生
- 109
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google/libaddressinput 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
google/libaddressinput#255 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
google/libaddressinput#245 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 64/100
google/libaddressinput#254 ·
-
难度 1/5 1 小时以内 新手友好度 52/100
google/libaddressinput#250 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 58/100
google/libaddressinput#249 ·
查看 google/libaddressinput 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
cataclysmbn/Cataclysm-BN#10516 ·
维护者通常 1 天内回复
-
area:runtime good first issue
难度 2/5 1-3 小时 新手友好度 72/100
WATonomous/wato_f1tenth#39 ·
-
[APP BUG]: Sorting by name after searching can bring up irrelevant results可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
shadps4-emu/shadps4-qtlauncher#465 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
duckdb/duckdb-excel#104 ·