Prepare the mod for translation #9
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the feature you'd like to see
There are a lot of hardcoded values in the mod source code that are used to display messages in the interface.
Because the values are hardcoded we can't translate the mod properly.
The hardcoded value example
Text.literal
:we need to convert such values to translatable text pieces like this one
Text.translatable
:This is done in three steps:
Text.literal
resources/assets/minefortress/lang/en_us.json
Text.literal
withText.translatable
with that keyPlease feel free to refer to these issues in any PR where you make such changes. When all texts are moved to translation files we will close this issue.
The text was updated successfully, but these errors were encountered: