Webtorrent-desktop: i18n

Created on 9 Apr 2016  路  7Comments  路  Source: webtorrent/webtorrent-desktop

We need i18n.

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

enhancement help wanted

Most helpful comment

@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.

All 7 comments

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

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

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.

I suggest using Weblate

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dcposch picture dcposch  路  6Comments

manoharprabhu picture manoharprabhu  路  3Comments

izdi picture izdi  路  6Comments

karloluis picture karloluis  路  3Comments

tiotrom picture tiotrom  路  4Comments