notesnook icon indicating copy to clipboard operation
notesnook copied to clipboard

i18n support for multiple languages

Open santb08 opened this issue 3 years ago • 9 comments

What problem are you facing?

Noticed that notebook supports English only, and this can limit the number of users from many different regions

What's the solution you'd like to see in Notesnook?

Implementing trend libraries such as i18n I can create a PoC for that and change some texts to don't make a big change I can help to translate the app to Spanish as I'm native from Latinoamerica

What alternatives have you considered?

We can create our custom solution using JSON dictionaries or using react-intl, but I'd rather prefer i18n

Additional context

I think that even if you're planning to have 1 language only there'd be at least a standard for messages/texts shown in the app

santb08 avatar Sep 09 '22 23:09 santb08

In progress?

JonZhang3 avatar Sep 15 '22 01:09 JonZhang3

In progress?

waiting for any approval tbh

santb08 avatar Sep 15 '22 17:09 santb08

Okay the first step towards this would be standarizing all the strings in all the client apps everywhere. We'd also want this to be simple to maintain and extend. I haven't worked with i18n before (so can you give some resources I can look into)? JSON is not a totally bad idea but we'd probably want it to integrate with something like Crowdin (or an open source alternative to it).

Framework integration is not a bad idea either but I'll have to research on that. Another thing to consider is the UI side of things. For example, in German the texts can be quite long so we'd need some way to test that out.

thecodrr avatar Sep 16 '22 10:09 thecodrr

Well, I'd like to go with i18next library that goes beyond i18n framework. It supports Crowdin and many other language platforms, and you can see it in a nutshell with the crash course on its docs site: https://www.i18next.com/

Also, I think that starting with languages support can help any other devs who might want to start in the open source world, they could help with translation things and fitting texts as you mentioned

In the first place, we can only start with languages tan can be kinda similar, such as English, Spanish, Italian, and on demand...

But at the very beginning, English, by moving the languages into Crowdin as you mentioned

santb08 avatar Sep 18 '22 20:09 santb08

hi, any progress now?

dyw770 avatar Oct 29 '22 05:10 dyw770

I'm against Crowdin and I would prefer Hosted Weblate. It's open source.

inson1 avatar Oct 28 '23 09:10 inson1

I'm against Crowdin and I would prefer Hosted Weblate. It's open source.

I agree, I'm logged in to both but I prefer weblate too to help translate!

fallsdevil avatar Oct 28 '23 23:10 fallsdevil

Any updates? I agree with using Weblate.

jermanuts avatar Feb 23 '24 09:02 jermanuts

We've #865 discussion for this purpose.

shuvashish76 avatar Feb 26 '24 17:02 shuvashish76