Musical Instrument Minecraft Interface (MIMI)

Musical Instrument Minecraft Interface (MIMI)

637k Downloads

[IMPROVEMENT] Improve Localization Support

tofodroid opened this issue ยท 0 comments

commented

Is your improvement request related to a problem? Please describe.
Currently much of MIMI is hardcoded in English which makes it difficult to have localizations in other languages.

Describe the solution you'd like
Reduce the amount of hardcoded English in the mod and extract as much as possible to localization files.

Additional context
Much of this can be achieved using Component.translatableWithFallback(...) or Component.translatable(...) in place of Component.literal(...)

Example: https://github.com/tofodroid/mimi-mod/blob/main/src/main/java/io/github/tofodroid/mods/mimi/common/block/legacycompat/BlockBroadcaster.java#L33