GuizhanCraft / SlimefunTranslation

A Slimefun addon that can translate all Slimefun items without actually modifying items.
https://docs.ybw0014.dev/slimefun-translation/
GNU General Public License v3.0
1 stars 0 forks source link

The language doesn't change after you change the language of your settings in-game. #43

Open reamianv opened 4 months ago

reamianv commented 4 months ago

Checklist

Description

I was obviously using the ko: en mapping to translate and use the language, and when I changed the SlimeFun language from ko -> en, the ko language I was using before was not changed to en. So I tried changing the language in the Minecraft in-game settings from korean -> english, and the language setting in the SlimeFun guide from korean to english, but it didn't change to english. So I thought it was weird, so I tried setting it to a language other than english, but the language of the items that looked Korean didn't change even if I set it to another language.

To summarize, changing the language in the in-game , Slimefun settings does not change the language of the item to another language.

Reproduction Steps

  1. Language set After use command sf give Mcnick itemname
  2. Change the Slimefun guide language, and minecraft game language
  3. Check the item name. and lore
  4. ReJoin
  5. Check the item name and lore
  6. Server Reboot
  7. Check the item name and lore
  8. Delete the plugin and start the server
  9. join
  10. Check the item name and lore

Expected Behavior

Item Lore and names should display correctly when the language is set to a different language.

Server log

[Pastebin.com/KYKGebi7]

Error report

No response

Server Software

Purpur

Minecraft Version

1.20.1

Slimefun version

build 1145

Plugin version

build 21

reamianv commented 4 months ago

2024-05-13_01 21 48 2024-05-13_01 22 57 2024-05-13_08 19 42 2024-05-13_08 24 41 2024-05-13_08 24 47 2024-05-13_08 35 22

ybw0014 commented 4 months ago

since the default translations only cover core slimefun items, you will need to contact the translation provider about the translation of addon items. also, do not map other languages to English. Instead, change the server's default language in Slimefun config, and set player language to server default. (Minecraft language has no effect on this plugin)

reamianv commented 4 months ago

As for translations, I'm slowly translating everything by hand (including additional addons) and haven't mapped other languages to English. In the Slimefun configuration, I've already set the default language of the server to ko.