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

[Feature Request] Add support for translation / changing display language #13

Open
Speyedr opened this issue Mar 9, 2022 · 1 comment · May be fixed by #23
Open

[Feature Request] Add support for translation / changing display language #13

Speyedr opened this issue Mar 9, 2022 · 1 comment · May be fixed by #23
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@Speyedr
Copy link
Owner

Speyedr commented Mar 9, 2022

Is your feature request related to a problem? Please describe.
Some users will not be able to understand how to use the program as the menus are currently only displayed in English.
I noticed that several guides or solutions which linked to my program were for communities which do not speak English, and this has made me realise that this program should support translation / allow different languages as GTA Online has communities all around the world which may need to use SCBlocker in the future.

Describe the solution you'd like
Wrapping text that needs to be translated in some sort of class where its' attributes contain said text in different languages. Passing an additional parameter specifying the intended language will then return a string of that text in the requested language.

Automatic translation could be possible, but community-driven translations (especially by those who understand the context of this program) would be best.

Describe alternatives you've considered
Different versions or builds with files translated, however this would be very, very clunky.
Wrapping text in classes would allow the menus to update at run-time, and only one build would be necessary.

Additional context
Guide for this program published by Brazilian (?) YouTuber
Guide for this program published by Russian (?) YouTuber (Note that this person had to use an auto-translator and had difficulty finding the download link.)

@Speyedr Speyedr added enhancement New feature or request documentation Improvements or additions to documentation help wanted Extra attention is needed labels Mar 9, 2022
@Speyedr
Copy link
Owner Author

Speyedr commented Mar 9, 2022

Additionally, translations need to be possible without modifying the source code so that people can add their own language without needing to know Python syntax. Ideally, translations are dynamically loaded from files local to the project / application and can be easily modified or extended by anybody.

@Speyedr Speyedr linked a pull request Mar 21, 2022 that will close this issue
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant