Unreadable Characters
QueenUlyana opened this issue · 11 comments
@Khajiitos Unreadable Characters.
Add the ability to move the icon to another location, it overlaps the icons of other mods.
I don't know if it matters, but I use https://github.com/UltimMC/Launcher
{"status":"success","country":"США","countryCode":"US","region":"NY","regionName":"Нью-Йорк","city":"Нью-Йорк","zip":"10123","lat":40.7128,"lon":-74.006,"timezone":"America/New_York","isp":"Cloudflare, Inc.","org":"Cloudflare, Inc.","as":"AS13335 Cloudflare, Inc.","query":"104.16.194.11"}
Yes, the Russian language is displayed correctly.
It's interesting that the text under the location gets displayed properly, and that the comma between the city and the country gets displayed too. The issue must be either that somehow we didn't get the response in a correct format somehow or that ipapi sends weird data for people from Russia (yeah... that might be a possibility). Can you open http://ip-api.com/json/hypixel.net?lang=ru in the browser and see if the response is correct?
By saying icon, do you mean the world map button?
What version of Minecraft did the issue occur in? What version of Server Country Flags did you use? What mods did you have installed? This will help figure out the issue.
By saying icon, do you mean the world map button? What version of Minecraft did the issue occur in? What version of Server Country Flags did you use? What mods did you have installed? This will help figure out the issue.
Minecraft Version: 1.19.4
servercountryflags-1.6.2-1.17-1.19.jar
I have a lot of mods installed, but in the example in the picture it is "In-Game Account Switcher". My native language is "Russian (Russia)", I just ask you to make sure that my language is displayed correctly and ability to modify the location of the map icon.
I uploaded a new version of the mod on CurseForge - it's a beta though so you might have to enable seeing alpha versions. It added an option to move the map button to the left side, and I changed something that could potentially fix this issue (not guaranteed)
The mod's config file is located in the config/servercountryflags/servercountryflags.properties file, the option to move the button to the left is mapButtonRight if I remember correctly, you will have to set its value to false.
I uploaded a new version of the mod on CurseForge - it's a beta though so you might have to enable seeing alpha versions. It added an option to move the map button to the left side, and I changed something that could potentially fix this issue (not guaranteed)
Wow, it works. Only I forgot which library is needed to change the position of the map icon?