-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add config support for other languages #1
Comments
Thinking of what your saying, I could add multiple checks for multiple phrases, thats my first solution I can think of right now but it's going to look like a monstrosity in the code. (never heard of someone who uses pirate speak) translation for pirate speak: |
I mean, ye could load to the sky all the config values into a 'ashset an' then check if the message be in the 'ashset. Translation: I mean, you could load up all the config values into a hashset and then check if the message is in the hashset. |
An update on pirate speak translation, I made a hashmap and it works with both english and pirate speak and unicode font. You can see the development in the dev branch which is located here. I already made a alpha build download if you would like to use it. The alpha build is located here on modrinth. You can see the code for Translation to Pirate Speak: |
The code been written an' tested. Now it be just fillin' up the json file with translations. Translation: The code has been written and tested. Now it's just filling up the JSON file with translations. |
…ries; Added all of Hypixel's translations. Closes dubfib#1
Summary
As seen in below, currently the text is hardcoded:
autoutils/src/main/java/com/dubfib/autoutils/events/ChatEvent.java
Line 8 in 6aee09a
For those who use other languages, such as Russian or Chinese, this mod won't work as expected. If you PR support for loading the expected text from a config file, then I will manually go through each Hypixel language and PR full support for each language.
Notes
I just really want my pirate speak to work with this mod lmao
The text was updated successfully, but these errors were encountered: