WordPress.org

Making WordPress.org

Opened 7 weeks ago

Last modified 2 weeks ago

#4638 assigned defect

CampTix: Country Name Spelled Wrong

Reported by: Yuli Yang Owned by:
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords:
Cc:

Description

Hi,

I'm lead organizer of WordCamp Taipei 2019. I noticed that my country's name is not spelled correctly in Camptix country field and the local may feel offended. Currently, the country is listed as "China, Republic of (Taiwan)". Our official country name is the "Republic of China (Taiwan)".
When inputting country selector, Taiwanese usually type "T" to look for "Taiwan". If our country does not come up, we type "R" to look for "Republic of China (Taiwan)." Nowadays, Taiwanese prefer to use "Taiwan".

Thanks in advance for anyone who can help with this.

Attachments (1)

Screen Shot 2019-07-29 at 10.09.31 PM.png (194.7 KB) - added by Yuli Yang 7 weeks ago.
Taiwan's country name is spelled wrong in CampTix

Download all attachments as: .zip

Change History (12)

@Yuli Yang
7 weeks ago

Taiwan's country name is spelled wrong in CampTix

#1 @iandunn
7 weeks ago

  • Status changed from new to assigned

I agree that simply Taiwan would be easier for people to find. It's probably just the way it is because the list of countries was pulled from some ISO database or something. I'd rather have something that is easy for people and matches their expectations, though, rather than the "official" name.

It'd also be nice to implement selectWoo / select2 to make searching easier. We could probably do that in camptix-tweaks to avoid having to bundle it in CampTix itself, since it already exists on WordCamp.org.

We might want to use Taiwan (Republic of China) to also cover people who start by typing republic.

#2 @Kenshino
7 weeks ago

@iandunn It's very unlikely people will type Republic. FWIW, Singapore is actually Republic of Singapore :) But no one thinks of that.

There are sensitivity issues right now towards the sovereignty of Taiwan and I feel we should respect that and not end up accidentally upsetting a group of people.

I'd suggest just keeping to Taiwan.

Btw on a side note, it doesn't seem to list Hong Kong. So perhaps it's missing territories entirely.

#3 @iandunn
7 weeks ago

It's very unlikely people will type Republic. FWIW, Singapore is actually Republic of Singapore :) But no one thinks of that.

WFM.

it doesn't seem to list Hong Kong

Unfortunately we've got a bunch of country lists throughout the wordcamp.org codebase. e.g.:

question_field_country()
MES_Sponsor::markup_meta_boxes()
WordCamp_Post_Type_Plugin::metabox_sponsor_info()

I think we should update them all to use wcorg_get_countries() as the canonical list. That uses ISO-3166, and does include Hong Kong. Then we can update wcorg_get_countries() to change Taiwan, Province of China to just Taiwan.

CampTix couldn't use that function directly, since it's distributed in the w.org repo, but we've talked about removing it from the repo in the past, and this might be a good time to do that. If we do, then it could use the function. If we don't do that, we could copy/paste the canonical list into CampTix's existing function.

It'd be good to also use Select2 on all of those fields above; related #4303

#4 @Kenshino
6 weeks ago

Hey @iandunn the approach looks good.

It does feel like it'd take a bit of time and while we have ticket Sales open - any chance we can drop in a temp fix for now?

#5 @Yuli Yang
5 weeks ago

Hi @iandunn

It would be nice if we could have a temporary solution before we start selling tickets in September. I would rather not to upset people at this sensitive time. Thank you so much for helping!

#6 @iandunn
5 weeks ago

@andreamiddleton is planning to take a look soon and give feedback on the ideas we've discussed so far.

#7 @iandunn
5 weeks ago

It's worth noting that Drupal switched from ISO-3166 to CLDR, both for political and UX reasons.

WordPress.com also uses CLDR in some places, and released a plugin that could be helpful.

#8 @adityakane
5 weeks ago

Hi @iandunn
I like the idea of using CLDR - which is used by Wikimedia Foundation and Mozilla.
It is also used by Debian Linux, Open Office and CERN.

Source: http://cldr.unicode.org/#TOC-Who-uses-CLDR-

This is the country list resource

I find Mozilla communities list Taiwan as just "Taiwan"

#9 @Nao
5 weeks ago

https://en.wikipedia.org/wiki/ISO_3166-1#Naming_and_disputes says:

The country names used in ISO 3166-1 are taken from the two UN sources mentioned above. Some country names used by the UN, and accordingly by ISO, are subject to dispute:

Some of the country names in the CampTix list don't exactly match ISO 3166. For example, "Congo, (Brazzaville)" and "Congo, (Congo Kinshasa)" are in the CampTix list, but ISO 3166 has "Congo, Democratic Republic of the" and "Congo (the)". There are other discrepancies as well.

In any case, I agree with what many of the commenters on Drupal's page that Ian linked earlier. I agree that CLDR is a more suitable list for our purpose. For ISO 3166-1, the complete code list in XML/CSV/XLS formats are available for purchase (see related Wikipedia section) while small sample portions & online browsable version are free. Using CLDR's JSON format of county code & names can be a better source for up-to-date information.

Last edited 2 weeks ago by Nao (previous) (diff)

#10 @andreamiddleton
4 weeks ago

I agree that shifting our standard to CLDR seems to be the best way forward.

#11 @Yuli Yang
4 weeks ago

Caught this in WordCamp sponsor custom post type. It's not CampTix but it's the same situation.
https://cl.ly/cd2f23658c97

Note: See TracTickets for help on using tickets.