Comments (7)
Hey. It's possible to get more translations by simply adding them to the source file: restcountries/src/main/resources/countriesV2.json
from restcountries.
I mean in the API call, e.g. https://restcountries.eu/rest/v2/name/holland?translations=[sv,fr,de]
from restcountries.
Ah OK. This is not available at the moment but thanks for the suggestion
from restcountries.
I wish to express my hope that this will be added in the short future. The current list of translations is just not sufficient for European users.
So, either extend the list of translations (which might make the API slower?), or make the list definable (as I suggested).
Thanks!
from restcountries.
I'll keep this thread open to remind myself about it, but anyone is welcome to contribute to the project thru a Pull Request or Donation :)
from restcountries.
I was thinking something like:
restcountries.eu/rest/v2/language/fr/all
restcountries.eu/rest/v2/language/fr/name/aruba?fullText=true
The result can be everything translated to the requested language, if this gets implemented I can help with translations. I'm sure there will be many more willing to help with that.
from restcountries.
Hi @VCardWEb This is something that I'm actually considering for the version 3 of restcountries API
from restcountries.
Related Issues (20)
- Mauritanie Flag HOT 2
- Swaziland Country Name HOT 7
- Endpoint down? HOT 4
- Invalid certificate for restcountries.eu HOT 5
- Hard to reach the api today ? HOT 22
- What happend to the api? is it down forever? will it come back? HOT 37
- Changing Turkey to Türkiye
- Some requests return a list with the value null inside HOT 1
- Country name "Luxemburg" contains a comma symbol in official name HOT 1
- wrong car country code for Germany HOT 3
- You API/Website is down HOT 4
- server down HOT 2
- Update Kazakhstan calling codes HOT 1
- Getting Regions
- The API is down
- SSL expired HOT 2
- Why There isn't Palestine country HOT 1
- cape verde Latlng are incorrecte HOT 3
- List of countries not alphabetical HOT 5
- Not working api and website HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restcountries.