You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.
It would be nice (because changing library core files isn't nice) to make a language module to get phrases accorded to specified language from config. Because English language of course is world-wide, but some owners may prefer that players receive information exclusively in their own language. I can translate the phrases into Russian because I have the necessary knowledge.
Also if you approve the idea, then soon I can close the issue
The text was updated successfully, but these errors were encountered:
LuaFan2
changed the title
Add a language module
[Enhancement] Add a language module
Aug 16, 2020
That's a great idea, though it presents an interesting implementation problem. It could be a completely separate module, but then you run the risk of NAPI being modified and the language module not having associated strings in certain languages. It would also be a challenge to edit all of the existing NAPI messages from outside of the module.
I think it'd be best to include a shared localization core inside NAPI and then possibly add other languages in that same directory/subdirectory. And then if you want to make a module that supports multiple languages, you can use the localization API that was added to NAPI, but specify all of the strings within your module. Kinda throwing ideas here since we don't have experience in this area.
It would be nice (because changing library core files isn't nice) to make a language module to get phrases accorded to specified language from config. Because English language of course is world-wide, but some owners may prefer that players receive information exclusively in their own language. I can translate the phrases into Russian because I have the necessary knowledge.
Also if you approve the idea, then soon I can close the issue
The text was updated successfully, but these errors were encountered: