Open miguelzinhe opened 3 years ago
@miglsoares
I agree! I believe there is multi-language support in PsychonautWiki (all data comes from there) but I don't think they are exposed to the API.
Our messages though are already structured which makes it easier to translate and implement i18n:
https://github.com/dlbnco/tripby.org/blob/develop/components/IntlProvider/messages.js
Actually, I didn't find anything about multi-language support, maybe I contact PsychonautWiki to know more Infos!
Thank you for your answer! :heart:
@miglsoares
I agree! I believe there is multi-language support in PsychonautWiki (all data comes from there) but I don't think they are exposed to the API.
Our messages though are already structured which makes it easier to translate and implement i18n:
https://github.com/dlbnco/tripby.org/blob/develop/components/IntlProvider/messages.js
The API has a repository here on Github, an issue asking for the possibility of multiple languages should be a reasonable objective for a wiki-like website focused on aggregating accessible information. I'll look into PsychonautWiki To-do list and their API respectively and create an issue tagging you. Meanwhile, there are plugins that allow for automatic translation of JS API's, but I haven't researched them in-depth yet, which could provide a temporary hotfix.
Feature request
Translations in Portuguese/Spanish can help a lot of people working with harm reduction informations.
PS: I can help with i18n!