Some alt records have incorrect lang codes in the isolanguage field

43 views
Skip to first unread message

Jim Idle

unread,
Aug 24, 2023, 4:21:15 AM8/24/23
to GeoNames
Either  that, or the documentation saying that this is a 2 or 3 character field is incorrect. For instance the record:

1992589 3039163 zh-CN   圣胡利娅-德洛里亚  

Has the full lang spec instead of just zn. There seems to be a lot of these. Has the spec changed and the docs are out of date, or are these records incorrect?

Jim 


Marc Wick

unread,
Aug 24, 2023, 4:50:28 AM8/24/23
to geon...@googlegroups.com, Jim Idle
Hi Jim

You are right, the doc is out of date.
The languagecode may be followed by a hyphen and a countrcode or a
country variant:
zh-CN
zh-Hant


Best Regards

Marc
> --
> You received this message because you are subscribed to the Google
> Groups "GeoNames" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geonames+u...@googlegroups.com
> <mailto:geonames+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/geonames/9a65117c-7852-4a50-9e0e-31fa86eb6badn%40googlegroups.com
> <https://groups.google.com/d/msgid/geonames/9a65117c-7852-4a50-9e0e-31fa86eb6badn%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages