Description
[...] we're making a revised country selector [...] It has a search, and we're proposing including a few common acronyms - e.g. UK would find United Kingdom, US or USA would find United States, NZ would find New Zealand, UAE = United Arab Emirates.
Question: is there a way we could get a list of common country acronyms for our supported languages? E.g. in French RDC = la république démocratique du Congo = DRC in English.
The above use case is something that we could address with Region.short_name
. Currently, that only does something useful for "provinces" of certain countries, e.g.
$ Worldwide.region(code: "CA-ON").short_name
=> "ON"
... and it just returns the same value as .full_name
elsewhere. Hooking up some behaviour to return useful short names would be a nice enhancement.
I think a good way to come up with a list would be to look at the various Wikipedia pages for each country in each target language. E.g. that'll come up with 米国 , アメリカ and 米 for US
in Japanese. It also points to ROK for KR
in English.