[Phaser 3] Label Translate Plugin

https://github.com/Qugurun/Phaser3-Label-Translate-Plugin

Label Translate Plugin - adds multilingual support to the text in your games based on {key} keys from JSON files.

Automatically changes the text of all text objects when changing the game’s language

preview.gif

Example:

preload(){
  this.load.json("en", "assets/locale/en.json");
}
create(){
  this.translate.setLanguage("en");
  const label = this.add.label(0,0, "{key}", {fontSize: "50px"});
  // other code
  this.translate.setLanguage("fr");
}

Translation files can be easily prepared using Google Sheets.
Google Sheets Example