HumanRightsMeasurementInitiative / hrmi-dataportal

https://rightstracker.org
Other
4 stars 8 forks source link

Allow dependent countries / show country status #117

Open tmfrnz opened 4 years ago

tmfrnz commented 4 years ago

This is to allow expressing country dependencies, eg

tmfrnz commented 4 years ago

@annemariebrook I have set up the new country file (v3) with 2 new columns as discussed:

Alternatively, for a more simple solution we could simply include the sovereign country in brackets, as we are actually already doing elsewhere (eg VIR (es), HKG (es), the latter being changed to use brackets as per #101).

To keep it short and allow using those names in titles and in the narrative this would mean we would lose the exact status though, ie

By the way I noticed that 'China' as the sovereign country for Hong Kong and Macao has only been specified for the translations (ES, FR, PT) but not for the English language

tmfrnz commented 4 years ago

@annemariebrook if you do want to go with the original option (full status and sovereign), it would be great if you could provide me with a list of statuses - thanks!

annemariebrook commented 4 years ago

Hi @tmfrnz. For now we would like to list "Status" as a field ONLY for non-independent countries. e.g. the territories that we are adding in the Pacific. We are just double-checking that we have the list of statuses correct for those territories and will pass it on when the checking is complete, and send it to translation at the same time. For now we do not want to show the status field for regular countries, nor list the dependent territories on e.g. the NZ or US page. (this is just to keep things simple as there is such a range of degrees of independence we don't want to get caught up in the complications of it). Does that sound OK?

annemariebrook commented 4 years ago

I could send you the draft list of statuses sooner, if that would be helpful for setting it up. Hopefully there won't be any changes, but we wanted to double check we have it right, with people in each country/territory.

tmfrnz commented 4 years ago

@annemariebrook sounds good (listing status only for non-independent countries)

And yes, please feel free to send the draft list of statuses sooner (or include here), if you can, just so I can check if and how well it aligns with my current understanding.

While at it, it might be good to review any other non-independent countries that we already have in the database, eg Hong Kong, Macau, Virgin Islands, New Caledonia, St Martin, etc, and make naming consistent across languages.

Thanks!

tmfrnz commented 4 years ago

@annemariebrook just to confirm that this is the list of preferred country statuses https://docs.google.com/spreadsheets/d/1k35Jvtmh3mwS5ndIX2Otl2kqPsetrEvR8EUl3okKKOI/edit?usp=sharing Thanks

annemariebrook commented 4 years ago

yes - thank you.

annemariebrook commented 4 years ago

@tmfrnz i just checked this, and noticed that there is a mistake for Palau, which stems from the list of country statuses in the google sheet. It says: "Associated state of New Zealand". It should say "Associated state of the United States".

Can you please fix this? I tried to edit the google doc, but don't have edit access. Do you? Thanks!

In the meantime, I will send the google doc to Sarah so these terms can be translated.

tmfrnz commented 4 years ago

@annemariebrook I just fixed this in our data repository

countries table: https://github.com/HumanRightsMeasurementInitiative/hrmi-dataportal-data/blob/master/data/countries_v3.csv#L154

commit: https://github.com/HumanRightsMeasurementInitiative/hrmi-dataportal-data/commit/b510334a40d62c96ceafeb59b342ee159d2b2b8a

annemariebrook commented 4 years ago

Thank you!

annemariebrook commented 4 years ago

@tmfrnz, I received the email copied below from @sarahbichan. Can you please advise if she has entered the translations for the country statuses correctly, or if they should be entered somewhere else? Also, can you please re-provide the link to the development site where the statuses were available. I'm hoping we can launch this feature ASAP thanks very much both, A-M

For the country statuses with territories in the Pacific, the translations are now back. The fields in v3.1 in EN are: "hrmi.status.unincorporated": "Unincorporated territory", "hrmi.status.associated": "Associated state", "hrmi.status.collectivity_overseas": "Overseas collectivity", "hrmi.status.collectivity_special": "Special collectivity", "hrmi.status.selfgoverning": "Self-governing in free association", "hrmi.status.nonselfgoverning": "Non-self-governing territory", "hrmi.status.commonwealth_politicalunion": "Commonwealth in political union",

I have entered the translations in 3.1. I assume that these fields combine with others to create the actual phrases you sent me. E.g. "Unincorporated territory of the United States" or "Special collectivity of France" as there weren't any fields which had these combinations, only the terms above. The translations will need articles etc, as in "État rattaché à la Nouvelle-Zélande" and "Etat du Commonwealth en union politique avec les États-Unis".

Sarah

tmfrnz commented 4 years ago

@annemariebrook @sarahbichan unfortunately I am not able to see these "country status" translations on the v3.1 branch (or any other branch) @sarahbichan could you check again?

And yes, they should be combined with the related (souvereign) country as stored in our countries table (data repository)

sarahbichan commented 4 years ago

I can see them here (Git Desktop) and in Atom (see screenshots), but they're not showing up on github.com. I don't understand why... I'll redo them on github.com and hopefully they will come through then. TODO change_ES TODO change_ES_Atom

tmfrnz commented 4 years ago

@sarahbichan thanks!

Also see #175 for related tasks