Server Country Flags

Server Country Flags

7M Downloads

Unreadable Characters

QueenUlyana opened this issue · 11 comments

commented

@Khajiitos Unreadable Characters.
Add the ability to move the icon to another location, it overlaps the icons of other mods.

2023-05-30_20 12 51
2023-05-30_20 12 52
2023-05-30_20 13 41
2023-05-30_20 14 39
2023-05-30_20 14 40

commented

I don't know if it matters, but I use https://github.com/UltimMC/Launcher

commented

{"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.

commented

Hi, I tried to verify this myself, but the text gets displayed as expected - can you verify if that happens without any other mods too?
image
The option to move the map button to the left side instead of the right side will be added in the next update.

commented

Hi, I tried to verify this myself, but the text gets displayed as expected - can you verify if that happens without any other mods too? image The option to move the map button to the left side instead of the right side will be added in the next update.

2023-06-05_084216
2023-06-05_08 41 49
2023-06-05_08 41 50
2023-06-05_08 41 56

commented

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?

commented

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.

commented

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.

commented

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)

commented

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.

commented

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.

Thanks, it worked.
2023-06-06_13 09 44

commented

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?

2023-06-06_12 46 44
2023-06-06_12 46 46