Description
Currently, you need to add all your translations to the markup equivalent of a godclass.
I propose supporting the following structure:
Localization
|- en-US
|- Items.toml
|- Npcs.toml
|- zh-Hans
|- Items.toml
|- Npcs.toml
When loading localizations, Tea will instead load the contents of all the files under each directory instead of only one file
What does this proposal attempt to solve or improve?
As I said before, the current localization file layout is the markup equivalent of godclassing, making organization and editing much harder.
What (other) solutions may be considered?
Another possibility is allowing for more subfolders within each locale folder:
Localization
|- en-US
| - NPCs
| - GenericEnemies.toml
| - Bosses.toml
| - TownNPCs.toml
| - Items
| - Weapons
| - Melee.toml
| - Ranged.toml
| - Tools
| - Pickaxes.toml
| - Axes.toml
...
Description
Currently, you need to add all your translations to the markup equivalent of a godclass.
I propose supporting the following structure:
When loading localizations, Tea will instead load the contents of all the files under each directory instead of only one file
What does this proposal attempt to solve or improve?
As I said before, the current localization file layout is the markup equivalent of godclassing, making organization and editing much harder.
What (other) solutions may be considered?
Another possibility is allowing for more subfolders within each locale folder: