anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[FEAT]: i18n, it's time for this

Open getofferhelp opened this issue 9 months ago • 8 comments

What would you like to see?

Hi, creators of this GREAT Project,

Would you like to add i18n to anything lm?

If so, I could do the part of Chinese version.

getofferhelp avatar May 08 '24 01:05 getofferhelp

This would be a massive help, it is indeed time to i18n. Let us get it set up first so we know where we will put all the translation files and we can do that.

If you would like to contribute sooner, creation a README.zh.md would be a fantastic start and we can then link it at the top of the readme to nav between the two

timothycarambat avatar May 08 '24 04:05 timothycarambat

Sure, I would do this part today: 'creation a README.zh.md'.

getofferhelp avatar May 08 '24 06:05 getofferhelp

@getofferhelp if you are able to even just paste in approximate translations of all the null fields in frontend/src/locales/zh/common.js we can get started with first merge of translations

timothycarambat avatar May 09 '24 00:05 timothycarambat

@getofferhelp if you are able to even just paste in approximate translations of all the null fields in frontend/src/locales/zh/common.js we can get started with first merge of translations

ok, I would do it today.

getofferhelp avatar May 09 '24 04:05 getofferhelp

@timothycarambat how is the translation of the Setting UI of workspace , like General setting, Chat setting etc

getofferhelp avatar May 09 '24 16:05 getofferhelp

Hi there, I can do the Spanish version if you want to add it.

giovaborgogno avatar May 10 '24 03:05 giovaborgogno

Possibly silly suggestion - for languages we don't have a native speaker offering to do the i18n for that language, might it be worthwhile to do llm translations (using one of the more linguistically capable) until somebody can come and offer native corrections? I think a bad translation is probably better than no translation so long as it's not indecipherable.

zjcurtis avatar May 11 '24 12:05 zjcurtis

@zjcurtis it absolutely would, the first issue prior to that is getting the list of "items" that require translation. There are a lot of areas for static text in the app so its a lot of work to set up initially, but then much easier to maintain as time goes one

timothycarambat avatar May 11 '24 19:05 timothycarambat