incubator-answer icon indicating copy to clipboard operation
incubator-answer copied to clipboard

🌐 Contribute a translation

Open fenbox opened this issue 2 years ago • 15 comments

It's great that you'd like to help us translate Answer into other languages.

Translators do all their work in the Crowdin. Create an account at Crowdin and start translating one or more languages.

After contributing translations to the Crowdin projects, there's nothing more to do. The translations will automatically be pulled into Answer repositories.

fenbox avatar Jan 06 '23 09:01 fenbox

Could you please add new language : Indonesia ?

aldotobing avatar Jan 31 '23 04:01 aldotobing

Could you please add new language : Indonesia ?

We will consider it. If you want to use this language ASAP you can submit a PR to us.

LinkinStars avatar Jan 31 '23 04:01 LinkinStars

@aldotobing Indonesia has been added at Crowdin.

fenbox avatar Jan 31 '23 04:01 fenbox

Hey, could you validate the translation in Crowdin for every language, even if they aren't 100%. Please.

The project is awesome ! Exactly what we needed in the OpenSource community. Great work !

maxlerebourg avatar Jan 31 '23 16:01 maxlerebourg

@maxlerebourg Thank you. We have added most popular 30 languages.

There are more than 300 languages in Crowdin. If contributors are willing to participate in the translation language is not listed, we will continue to add.

fenbox avatar Feb 01 '23 04:02 fenbox

Sorry, I didn't ask for new available languages. I wasn't clear, on Crowdin, when someone fills in translations, the team that manages the product must approve the new translations.

maxlerebourg avatar Feb 01 '23 07:02 maxlerebourg

@maxlerebourg I see, we are working on it.

fenbox avatar Feb 03 '23 09:02 fenbox

Hey, I saw, you just push new version, but unfortunaly, translations isn't handle by this file https://github.com/answerdev/answer/blob/main/ui/src/i18n/init.ts, so french, spanish and other languages are not available. Moreover, I suggest to not send to client all the language yaml files and fetch it from the back.

maxlerebourg avatar Feb 08 '23 10:02 maxlerebourg

@maxlerebourg Thank you for your feedback!

This question is in two parts.

  1. /i18n/init.ts This file is only used to build in the two languages and do the initialization of the i18n, the other language configurations are loaded on demand. There is no problem with this part.

  2. The problem is that the i18n service does not receive the corresponding data after the on-demand language file has been loaded. We will fix this issue as soon as possible.

Thanks!

haitaojarvis avatar Feb 09 '23 03:02 haitaojarvis

Hey, I saw, you just push new version, but unfortunaly, translations isn't handle by this file https://github.com/answerdev/answer/blob/main/ui/src/i18n/init.ts, so french, spanish and other languages are not available. Moreover, I suggest to not send to client all the language yaml files and fetch it from the back.

The latest docker image has been updated to fix your issue. You can pull the latest docker image again to update it. Then switch to French and try it out, the French translation is almost complete. @maxlerebourg

LinkinStars avatar Feb 10 '23 07:02 LinkinStars

I found the French translationissue was solved, but issue is still existed for zh_TW translation.

den13501 avatar Feb 21 '23 16:02 den13501

image

@den13501 Because French has been translated completely. Traditional Chinese is still being translated. You can check the progress of the translation here.

LinkinStars avatar Feb 22 '23 01:02 LinkinStars

image

@den13501 Because French has been translated completely. Traditional Chinese is still being translated. You can check the progress of the translation here.

Thanks for replying, I have just update all zh_TW translation to crowdin, please take time to review it,.

den13501 avatar Feb 22 '23 09:02 den13501

Thanks for replying, I have just update all zh_TW translation to crowdin, please take time to review it,.

@den13501 Thank you for your contribution to the translation, we will review and approve it ASAP.

LinkinStars avatar Feb 22 '23 09:02 LinkinStars

@den13501 The latest docker image already includes the zh_TW translation. You can update it and try it out. There is also some translated content that is still under review.

LinkinStars avatar Feb 24 '23 09:02 LinkinStars