webtorrent-desktop icon indicating copy to clipboard operation
webtorrent-desktop copied to clipboard

i18n

Open DiegoRBaquero opened this issue 8 years ago • 8 comments

We need i18n.

Thinking of https://github.com/mashpie/i18n-node

DiegoRBaquero avatar Apr 09 '16 15:04 DiegoRBaquero

Totalmente de acuerdo

grunjol avatar Apr 09 '16 15:04 grunjol

@grunjol También estoy de acuerdo

@DiegoRBaquero That looks like it's express specific.

feross avatar Apr 11 '16 03:04 feross

@feross It's not bound to express: https://github.com/mashpie/i18n-node#examples-for-common-setups, https://gist.github.com/mashpie/5188567

DiegoRBaquero avatar Apr 11 '16 03:04 DiegoRBaquero

@RecoX I quote here your Multi-language implementation suggestion 😉

Create some files under Languages folder for each language like english.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.

hicom150 avatar Oct 08 '19 07:10 hicom150

I enumerate here some popular React i18n libraries in case it helps to start "messing" with one 😉

hicom150 avatar Oct 08 '19 21:10 hicom150

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 like english.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.

gfoligna avatar Mar 17 '20 22:03 gfoligna

I suggest using Weblate

KovalevArtem avatar Nov 18 '20 23:11 KovalevArtem

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

github-actions[bot] avatar Nov 05 '22 12:11 github-actions[bot]