Fallback for Emote's Name and Description.
Amirhan-Taipovjan-Greatest-I opened this issue ยท 1 comments
Hello!
Minecraft 1.19.4 (and newer by date) has the fallback feature that allows to use message (placeholder) from "fallback" if translation keys are not working.
Expected behavior
With
"name": {"translate":"emotecraft.nameTranslation.Test", Fallback:"Testie"},
"description": {"translate":"emotecraft.descriptionTranslation.Test", Fallback:"Testies are from Testie =)"},
In .json file should appear in-game as "Testie" (not as "emotecraft.descriptionTranslation.Test", because it is a translation key).
Minecraft version+mod loader
- Version: 1.20.1
- Modded: Fabric
- Client
Mod version: 2.2.7-b.build.50-fabric
Additional context
It can be useful if someone want to make a localization for their Emote Packs.
Huh... finally I found the solution for this issue! I forgot to put ""
for "fallback" option, so that's why it wasn't working.
Credits to @dima-dencep (via Discord DMs)