webtorrent-desktop
webtorrent-desktop copied to clipboard
i18n
We need i18n.
Thinking of https://github.com/mashpie/i18n-node
Totalmente de acuerdo
@grunjol También estoy de acuerdo
@DiegoRBaquero That looks like it's express specific.
@feross It's not bound to express: https://github.com/mashpie/i18n-node#examples-for-common-setups, https://gist.github.com/mashpie/5188567
@RecoX I quote here your Multi-language implementation suggestion 😉
Create some files under
Languages
folder for each language likeenglish.json
,spanish.json
, etc and every file have in it all the texts required like{ MAIN_WINDOW_CREATE_TORRENT: 'Create Torrent', MAIN_WINDOW_DELETE_TORRENT: 'Delete Torrent', }
Then thanks to this webpage: https://www.logisticinfotech.com/translate-language-files-online-json/
with the json generated we can translated straight away to the language we want
We need to create a select input in the options menu with all the available languages in the application and that's it I think for now.
I enumerate here some popular React i18n libraries in case it helps to start "messing" with one 😉
- i18nify 🚲
- react-intl 🚗
- i18next 🚜
I'm available for translations to Spanish. Most likely to check if the results make sense at all.
@RecoX I quote here your Multi-language implementation suggestion
Create some files under
Languages
folder for each language likeenglish.json
,spanish.json
, etc and every file have in it all the texts required like{ MAIN_WINDOW_CREATE_TORRENT: 'Create Torrent', MAIN_WINDOW_DELETE_TORRENT: 'Delete Torrent', }
Then thanks to this webpage: https://www.logisticinfotech.com/translate-language-files-online-json/ with the json generated we can translated straight away to the language we want We need to create a select input in the options menu with all the available languages in the application and that's it I think for now.
I suggest using Weblate
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?