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

support i18n #414

Open
Rollczi opened this issue Aug 7, 2024 · 8 comments
Open

support i18n #414

Rollczi opened this issue Aug 7, 2024 · 8 comments
Assignees
Labels
feature hacktoberfest This year we’re celebrating 11 years of open source love! https://hacktoberfest.com/

Comments

@Rollczi
Copy link
Owner

Rollczi commented Aug 7, 2024

No description provided.

@Rollczi Rollczi added the feature label Aug 7, 2024
@Rollczi Rollczi added the hacktoberfest This year we’re celebrating 11 years of open source love! https://hacktoberfest.com/ label Sep 28, 2024
@vihar-s1
Copy link

Hi there...Can I work on this issue ?

@Rollczi
Copy link
Owner Author

Rollczi commented Sep 30, 2024

Hi, @vihar-s1

Of course, that's nice of you.

@vihar-s1
Copy link

thank you!

can you brief me once on what you are expecting from the i18n support so I that can work on this accordingly.

@Rollczi
Copy link
Owner Author

Rollczi commented Sep 30, 2024

I don't have a specific idea at the moment. It is worth considering this so that it makes sense in the final version

@vihar-s1
Copy link

vihar-s1 commented Oct 1, 2024

no worries...I see what I can do

@vihar-s1
Copy link

vihar-s1 commented Oct 6, 2024

So I did some research from my end and I will require some assistance here from your end as well. I need to clarify as to what text do you want to get translated before I begin. The i18n support heavily depends on the context of what is being translated. The best I could do right now is create a workflow, which when triggered would run some scripts to setup i18n files but i would still need to know what I am data I am going to map in the i18n files

@Rollczi
Copy link
Owner Author

Rollczi commented Oct 7, 2024

I think we need easy to use API to translate all parts of command such as arguments (also depending on language of sender, (one exception, discord don't support dynamic command structure)) Unfortunately I don't know how API could look good...

Second idea: We can think about placeholder system to easy translate commands from plugin configuration

@vihar-s1
Copy link

vihar-s1 commented Oct 8, 2024

so, the thing is, or the multi-language support, i18n files need to be generated which are basically sort of map of language vs text. It would be easy to generate the english language mapping. What I am thinking is that I can use some translation API to generate the text in other languages from the english language mapping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature hacktoberfest This year we’re celebrating 11 years of open source love! https://hacktoberfest.com/
Projects
Status: In Progress
Development

No branches or pull requests

2 participants