Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalization support #125

Open
mdk-ML opened this issue Jun 19, 2023 · 4 comments
Open

Internationalization support #125

mdk-ML opened this issue Jun 19, 2023 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mdk-ML
Copy link

mdk-ML commented Jun 19, 2023

Hello big brother, can you add a setting to switch the interface language? Like Chinese?

@jeremyckahn
Copy link
Owner

Hi @mdk-ML, thanks for bringing this up. I think supporting more languages (AKA internationalization or "i18n") would be an excellent addition to Chitchatter!

Achieving i18n would boil down to three steps:

  1. Set up basic i18n infrastructure
    a. react-i18next seems like as good an option as any.
    b. I can take care of this.
  2. Update the UI code to use translation keys
    a. Example: Replacing code like <p>Hello, World!</p> with something like <p>{t('greeting')}</p>
    b. I can at least get this started, but help from others would help to get this completed.
  3. Translating Chitchatter's English content to other languages
    a. This is where I really need help, because I only know English. Translations would need to be made by someone fluent in the language to be translated to.

This is a sizeable effort, but it's one worth doing. Before I start on this initiative, I'll need to get a commitment from someone to translate Chitchatter's English content to at least one other language. @mdk-ML would you be able to do the Chinese translation?

Would anyone else like to volunteer for other languages?


I'm going to tweak the title of this issue to bring the focus to i18n.

@jeremyckahn jeremyckahn changed the title Require multi language interface Internationalization support Jun 19, 2023
@jeremyckahn jeremyckahn added enhancement New feature or request help wanted Extra attention is needed labels Jun 19, 2023
@mdk-ML
Copy link
Author

mdk-ML commented Jun 19, 2023

I am willing to do Chinese translation, it is a great honor.

@jeremyckahn jeremyckahn removed the help wanted Extra attention is needed label Jun 20, 2023
@jeremyckahn jeremyckahn self-assigned this Jun 20, 2023
@jeremyckahn
Copy link
Owner

Thanks for offering to help, @mdk-ML! Before translation can begin, I'll need to set up Chitchatter for i18n support (steps 1 and 2 in my previous comment). I've got a few other tasks I need to finish first, so I'll get to this when I can. I'll update this thread once the project is ready for translation.

@jeremyckahn
Copy link
Owner

I haven't had a chance to set up react-i18next yet, and I'm not sure when I'll be able to. I'm going to open this up to the community in case anyone wants to lead the effort.

If anyone reads this and wants to implement an i18n solution for Chitchatter, please let me know!

@jeremyckahn jeremyckahn added the help wanted Extra attention is needed label Jul 18, 2023
@jeremyckahn jeremyckahn removed their assignment Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Development

No branches or pull requests

2 participants