After my previous post of United States state names, I looked at the admin1Codes.txt file and saw that several other entities are also referred to as "State of..".
Is this the formal name of the entity, or the customary name?
Some examples, 'State of Kosrae', 'State of Pohnpei' and 'State of Punjab'.
Perhaps residents of these countries can address what are the customary references for these names.
In the alternate names table we have two flags 'IsPreferredName' and 'IsShortName' to deal with this question. The admin1Codes.txt are exported from this table using the 'IsShortName' flag. For some administrative divisions this flag is not yet properly set and the long name ends up in the admin1Codes.txt file.
I have used the names from the U.S. Federal Information Processing Standard No. 10 "Countries, Dependencies, Areas of Special Sovereignty, and Their Principal Administrative Divisions" (also known as FIPS 10) and set the 'isShortName' flag accordingly.
This should solve most of the problems. The reminding long names for divisions will have to be fixed manually.