Closed HaHaWTH closed 1 year ago
please confirm if youre planning on translating tooltips/hover over text. in case the answer is no, hover over text will remain english in the localization. fetch the changes to see the tooltip langauge keys
the translation keys for enabling hit indication are
hitindication.gui.config.indicators.enable_hit_indication=Enable Hit Indication
and
hitindication.gui.config.indicators.enable_hit_indication.tooltip=Enables hit indication.
reference to https://github.com/TheHamester/HitIndicator/issues/5
OK, this language file is for the 1.12.2branch and I'll upload other files later:)
theres still no all of the tooltips look at my latest commit to 1.12.2
also, i dont think for further versions its possible to translate config files, even tho in the config spec builder there is .translate method, it doesnt seem to do anything, correct me if im wrong
theres still no all of the tooltips look at my latest commit to 1.12.2
theres still no all of the tooltips look at my latest commit to 1.12.2
Finished!
ye that looks good, thank you!!
saying in advance, i dont think zh_cn localization goes into other versions. forge doesnt seem to support translating config files in 1.16.5 and 1.18.2, sorry.
saying in advance, i dont think zh_cn localization goes into other versions. forge doesnt seem to support translating config files in 1.16.5 and 1.18.2, sorry.
Ahh....Maybe you need to convert .lang file into .json file, Forge in newer Minecraft versions only support json as localization files:(
I put my localization file into the jar file of this mod and it works perfectly :)
i did use json files. thing is you see, in further versions an external mod is required to generate config screens. and while i did find actual localization for froge configs in files, even they work really inconsistantly. i did try the same way they implemented it for my own config, it doesnt seem to work, thich is reaaaaally weird
but 1.12 works perfectly ye
oh, ok, got it to work in 1.18.2, they just dont support tooltips
ill make json files myself
Wait.....Newer versions of Forge does not support tooltips?! I know little about modern Minecraft versions🧐
translated tooltips for configs, ye
Provided localization is very appreciated, but since tooltips (hover over text) were hardcoded in english in the config class itself from mere neglegence of the fact somebody would pull request a localization, I made a commit that exposes tooltip lagnauge keys into the lang file as well. If that's not too big of an ask, I'd like to ask to translate the tooltips too. Thank you very much for your contribution!