Internationalization and localization #127

Closed
opened 2023-01-24 06:19:12 +00:00 by verbiricha · 4 comments
verbiricha commented 2023-01-24 06:19:12 +00:00 (Migrated from github.com)

Would be nice to support languages other than English. After supporting translatable strings and formatting we can set it up so it's easy for non-technical contributors to add translations to the app.

Would be nice to support languages other than English. After supporting translatable strings and formatting we can set it up so it's easy for non-technical contributors to add translations to the app.
SamSamskies commented 2023-02-04 19:23:05 +00:00 (Migrated from github.com)

Any idea on lib you wanna use? I can setup the boilerplate if you wanna use react-intl.

Any idea on lib you wanna use? I can setup the boilerplate if you wanna use `react-intl`.
v0l commented 2023-02-04 19:55:12 +00:00 (Migrated from github.com)

I just started reading i18next docs, is react-intl better?

I just started reading i18next docs, is react-intl better?
SamSamskies commented 2023-02-04 21:23:38 +00:00 (Migrated from github.com)

I dunno. I've only used react-intl. Using react-intl with extract-react-intl-messages is pretty nice. Allows you to define the messages close to where they are used and have all the messages extracted into one file per locale. Having only one file per locale makes it pretty easy for non-technical people to add translations.

I'll try and take a look at i18next today or tomorrow.

I dunno. I've only used react-intl. Using react-intl with extract-react-intl-messages is pretty nice. Allows you to define the messages close to where they are used and have all the messages extracted into one file per locale. Having only one file per locale makes it pretty easy for non-technical people to add translations. I'll try and take a look at i18next today or tomorrow.
verbiricha commented 2023-02-05 11:29:17 +00:00 (Migrated from github.com)

any of those two is fine imo, would be nice to set up transifex for translations like in Damus

any of those two is fine imo, would be nice to set up transifex for translations [like in Damus](https://github.com/damus-io/damus/blob/master/transifex.yml)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kieran/snort#127
No description provided.