Eranziel / foundryvtt-lancer

A Foundry VTT game system for LANCER RPG.
GNU General Public License v3.0
107 stars 64 forks source link

[FEATURE] Allow translating tags via native foundry functionality or the Babele module. #731

Open BoltsJ opened 4 months ago

BoltsJ commented 4 months ago

Is your feature request related to a problem? Please describe. Translating tags is difficult and if done affects all users due to the way they're stored.

Describe the solution you'd like Provide a way to have client side localization either through game.i18n or via integration with the Babele module.

Describe alternatives you've considered There's not really an alternative aside from forcing users to learn English.

Additional context Feature was requested on discord

Discord contact info chimoska

BoltsJ commented 3 months ago

Okay so design-wise, instead of retrieving the tags from settings on each use, we should store a live copy somewhere in CONFIG, probably CONFIG.LANCER.tags = …

As for the data, we could probably store the object as-is, but converting to a map may also be useful. Once the data is there, it would be up to Babel to replace the names and descriptions.

BoltsJ commented 3 months ago

Blocked by: https://gitlab.com/riccisi/foundryvtt-babele/-/issues/94