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

Languages? #28

Open
ErdemGKSL opened this issue Mar 17, 2022 · 4 comments
Open

Languages? #28

ErdemGKSL opened this issue Mar 17, 2022 · 4 comments
Labels
new feature New feature or request

Comments

@ErdemGKSL
Copy link

Im playing this game with my friends but new players are having hard times to get used to the game, can you give more languages? also i can help for the turkish language. This game is kinda popular in turkey so it would be good.

@ShrimpCryptid ShrimpCryptid added the new feature New feature or request label Mar 17, 2022
@ShrimpCryptid
Copy link
Owner

Thanks for the post! I'm tagging this as an enhancement for now, as I'd definitely be interested in adding multi-language support but also I don't have a lot of experience with it.

The Secret Hitler Online interface would need a pretty large refactor to even begin to allow for translation, as most strings are hard-coded (eep!). I'll look into what changes would need to be made to the source code and what translation platforms are out there; I'm currently considering Crowdin, which allows for public contributions.

If anyone else is interested, could you please comment on this thread or add a reaction?

@ErdemGKSL
Copy link
Author

ErdemGKSL commented Mar 17, 2022

You can put a language select box. And with javascript, you can replace all the strings in the content of the website (with a simple json etc.). It is not a stable method to do it but it would work and can be done easily. (I do not know how does react works it might be incompatible)

@artronen
Copy link

Hey guys! I vote for the issue and can you help with the Russian

@Slizzle45
Copy link

I can help with the turkish language too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
Status: New
Development

No branches or pull requests

4 participants