Some alt records have incorrect lang codes in the isolanguage field
58 views
Skip to first unread message
Jim Idle
unread,
Aug 24, 2023, 11:21:15 AM8/24/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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, 11:50:28 AM8/24/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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