countriesNowAPI icon indicating copy to clipboard operation
countriesNowAPI copied to clipboard

Multilangual names

Open SaraShoukry opened this issue 3 years ago • 8 comments

Thanks for the great work Can you guide me to create an Arabic version for this?

SaraShoukry avatar Dec 08 '21 18:12 SaraShoukry

Hi @SaraShoukry, Sure I can do that. Which part of the API would you like to translate? The documentation? or the responses?

MartinsOnuoha avatar Dec 09 '21 09:12 MartinsOnuoha

@MartinsOnuoha The countries, states & cities

SaraShoukry avatar Dec 09 '21 10:12 SaraShoukry

Hi @SaraShoukry , alright, can you show a sample of what the arabic response would look like? For example. This is the English response for a single country and a flag:

{
  "error": false,
  "msg": "country and flag retrieved",
  "data": {
    "name": "Nigeria",
    "flag": "https://upload.wikimedia.org/wikipedia/commons/7/79/Flag_of_Nigeria.svg"
  }
}

can you show me what an arabic version of this would look like?

MartinsOnuoha avatar Dec 10 '21 20:12 MartinsOnuoha

@SaraShoukry Can you please provide the response in Arabic so that we can close this issue?

vijaynk18 avatar Jan 30 '22 11:01 vijaynk18

Hi,

Is it already possible to fetch language specific countries, can't find it in the documentation?

For example, in french:

United States of America => États Unis d'Amérique Cambodia => Cambodge

Would the translations have to be done manually for all countries and states / provinces?

lpunderscore avatar May 09 '22 15:05 lpunderscore

Hi @lpunderscore , Currently we do not have translations for the API, and yes the translation would have to be done manually for each state/provinces

MartinsOnuoha avatar May 10 '22 22:05 MartinsOnuoha

sorry but i didn't complete the translation task

SaraShoukry avatar May 26 '22 11:05 SaraShoukry

That's alright, let me know if you still want to do this, else we can close this issue.

MartinsOnuoha avatar Jun 13 '22 23:06 MartinsOnuoha