tchx84 / Gameeky

Play, create and learn
GNU General Public License v3.0
70 stars 12 forks source link

Support translating thematic packs #139

Open tchx84 opened 3 months ago

tchx84 commented 3 months ago

e.g., tool that reads .entities (JSON) files and extracts "dialogue" fields, makes a .pot with that. Then, Gameeky server looks for $PROJECT_PATH/po/$LOCALE.po and applies gettext while reading dialogues fields before sending them to the player.

*NOTE that Gameeky clients are thin clients, they don't really know about the game logic etc, it's the server that does everything and streams the state of the game to the clients.