Language files don't work #1330
-
I use TranslatableText to display texts in my language files and it works well in development environment. However, when I install my mod in mods folder, the language files don't work and it just displays the key of TranslatableText and I can't see any error about it. And I'm sure the files are in the right position. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Is Fabric API being loaded in the production environment? Your build script might be exposing Fabric API, including its resource loader, to only the development environment causing resources in the |
Beta Was this translation helpful? Give feedback.
Is Fabric API being loaded in the production environment? Your build script might be exposing Fabric API, including its resource loader, to only the development environment causing resources in the
assets
folder to only loaded there.