Add `modname.lang.tr` locales support #32

Merged
MoNTE48 merged 1 commits from patch into master 1 year ago
MoNTE48 commented 1 year ago (Migrated from github.com)
Owner

This will help some mods quickly switch to the new (MT5) translation API. mobs_redo is one such mod.

This patch enough for supporting my_mod.es.tr translation file.

This will help some mods quickly switch to the new (MT5) translation API. mobs_redo is one such mod. This patch enough for supporting `my_mod.es.tr` translation file.
Panquesito7 (Migrated from github.com) reviewed 1 year ago
Panquesito7 (Migrated from github.com) left a comment
Owner

Why is it loading .txt files? Isn't it supposed to load .po files? .po and .tr files are formatted differently, too.

Why is it loading `.txt` files? Isn't it supposed to load `.po` files? `.po` and `.tr` files are formatted differently, too.
MoNTE48 commented 1 year ago (Migrated from github.com)
Owner

@Panquesito7 How do I know? This is not my mod. I am just giving you a patch from the legacy MultiCraft Engine before moving this code to the archive.
Upd. After this path, this translation file will be supported:
https://github.com/MultiCraft/MultiCraft_game/blob/master/files/flowers/locale/flowers.ru.tr

@Panquesito7 How do I know? This is not my mod. I am just giving you a patch from the legacy MultiCraft Engine before moving this code to the archive. Upd. After this path, this translation file will be supported: https://github.com/MultiCraft/MultiCraft_game/blob/master/files/flowers/locale/flowers.ru.tr
SmallJoker (Migrated from github.com) approved these changes 1 year ago
SmallJoker (Migrated from github.com) left a comment
Owner

LGTM. Will merge in a few days if there are no objections.

LGTM. Will merge in a few days if there are no objections.
Panquesito7 (Migrated from github.com) approved these changes 1 year ago
The pull request has been merged as 6ebdc5388d.
Sign in to join this conversation.
Loading…
There is no content yet.