MarkusBordihn / BOs-Easy-NPC

Create easily NPC for your world or for your mod.
Other
20 stars 8 forks source link

[Feature Request] Localization key support #382

Closed denisJaved closed 4 days ago

denisJaved commented 4 days ago

Is your feature request related to a problem? Please describe. πŸ€” I am developing story-based modpack with localization in mind but it is impossible to build dialogs using localization keys

Describe the solution you'd like πŸ’­ New placeholder <translatable>here.localization.key</translatable> that being replaced to localization key's value. This should be parsed before other placeholders so you can use other placeholders in localization keys

Describe alternatives you've considered πŸ”„ Tickmark for making dialog text inputs use thier text as localization key instead of actual inputed text

Additional context πŸ“ I am using easy npc 1.20.1-5.7.4 forge. Please notify me if this feature already exists but I am just on outdated mc or mod version

MarkusBordihn commented 4 days ago

The latest version includes an easy-to-use translation feature. For details, see: Translation Guide in the wiki.

This feature was specifically designed to support such use cases.

If there’s anything specific you're missing, please let me knowβ€”I’d be happy to take a closer look.