google / google/libaddressinput

KG postal information missing local format.

Open
#132 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
624
Forks
109
PR merge metrics
No merged PRs in 30d

Description

The current format and validation data for KG, Krygyzstan currently only has the latin format which corresponds with [UPU](http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/kgzEn.pdf):
```
name
organization
street_address
postal_code city
```

```javascript
{
"zipex": "720001",
"name": "KYRGYZSTAN",
"zip": "\\d{6}",
"fmt": "%N%n%O%n%A%n%Z %C",
"key": "KG",
"id": "data/KG"
}
```

But, looking at actual usage of cyrillic local postal addresses, it appears the normal, non-latin usage is the Asian large-to-small format. Some examples from KG government sites

From http://gosstroy.gov.kg/ru/ (bottom of page): `Кыргызская Республика, г.Бишкек, проспект Манаса 28` -> `Kyrgyz Republic, Bishkek, Manas Avenue 28`

From: http://antimonopolia.gov.kg/ : `г. Бишкек ул. Байтик Баатыра 7Б/1` -> `Bishkek city Baitik Baatyr 7Б / 1`

From: http://www.gamsumo.gov.kg/ru/about/feedback/
`720040, Кыргызская Республика, г.Бишкек, ул. Киевская 96“Б”` -> `720040, Kyrgyz Republic, Bishkek, ul. Kievskaya 96 "B"`

From [Kyrgyzstan post list of post offices](http://kyrgyzpost.kg/kg/filialdar/category/filial-bishkekskij-pochtamt.html):
```
Филиал «Бишкекский почтамт
720000, Кыргызская Республика, г. Бишкек, пр. Чуй, 96

ГОС-01
720001, Кыргызская Республика, г. Бишкек, ул. Киевская, 114

ГОС-03
720003, Кыргызская Республика, г. Бишкек, ул. Абдымомунова, 207
...
```

I would like to suggest the following update for KG:
```javascript
{
"lang": "ky",
"zipex": "720001",
"name": "KYRGYZSTAN",
"zip": "\\d{6}",
"fmt": "%N%n%O%n%Z %C%n%A",
"lfmt": "%N%n%O%n%A%n%Z %C",
"key": "KG",
"id": "data/KG",
"languages": "ky"
}
```

I'm not sure if `"lang"` and `"languages"` is needed if there is no key and subkey list.

Cheers,

Mike___

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.