FEATURE : I18N - Engine
Description
The engine doesn't have a I18N feature implemented. At first, we should see to make it for the engine, and then see to adapt it for games (editable by the user).
Here is a quick idea of how the feature should work:
- Read an xml file inside a specific folder defined in the settings (e.g. 'en_EN.xml')
- Get the "metadata" of the file
- Add dynamically the language inside the engine
This way, if the user want to add a new language, he can just create a new language file (ex: 'ja_JA.xml'), check how the english language file is done, and adapt it for their own language.
The metadata should contain:
- Language name (For french: 'Français', for english: 'English')
- Version of the language file (to warn the user if the language file is outdated)
The metadata could also contain:
- The text-direction (LTR or RTL).
Note:
For now, this is all, but new idea can be added / proposed.
If you need more information, do not hesitate to ask in the comment of the issue.
FEATURE : I18N - Engine
Description
The engine doesn't have a I18N feature implemented. At first, we should see to make it for the engine, and then see to adapt it for games (editable by the user).
Here is a quick idea of how the feature should work:
This way, if the user want to add a new language, he can just create a new language file (ex: 'ja_JA.xml'), check how the english language file is done, and adapt it for their own language.
The metadata should contain:
The metadata could also contain:
Note:
For now, this is all, but new idea can be added / proposed.
If you need more information, do not hesitate to ask in the comment of the issue.