Closed buiawpkgew1 closed 2 years ago
I assume you mean being able to have text translated?
You need to use Text.Translatable()
As for the config translations, that's being handled by Cloth Config (autoconfig).
You can find more info here: https://fabricmc.net/wiki/tutorial:lang
Let me know if you still got some questions
I assume you mean being able to have text translated? You need to use
Text.Translatable()
As for the config translations, that's being handled by Cloth Config (autoconfig).You can find more info here: fabricmc.net/wiki/tutorial:lang
Let me know if you still got some questions
Thank you
I assume you mean being able to have text translated? You need to use
Text.Translatable()
As for the config translations, that's being handled by Cloth Config (autoconfig).You can find more info here: fabricmc.net/wiki/tutorial:lang
Let me know if you still got some questions
i don't need the item such as chat history and ui
Check the "Using custom translatable text" part of the wiki page
Check the "Using custom translatable text" part of the wiki page
how to add such
Where is this from?
It's difficult to tell what Setting
expects for you.
I can imagine it's something that already makes it translatable for you if you provide only a key
这是从哪里来的?很难说出对你的期望。我可以想象,如果您只提供一个密钥,它已经可以为您翻译
Setting
Only translate name and description The original picture
Setting
/ BoolSetting
is from meteor-client and not from Minecraft, it seems they didn't implement a way to make those settings translatable. There's sadly nothing you can do about that except rewriting those yourself
I recommend making an issue about it on their github, since this has nothing to do with this mod I'll be closing this issue now
How to write in multiple languages, can you teach it?