This is a read-only mirror of the main moonspeak repository
Go to file
Lorenzo Cogotti cc9d45cb44 [crush] Update crush.lua. 2022-08-15 23:53:03 +02:00
.gitignore [.gitignore] Add crush lib directory to .gitignore. 2022-08-15 23:35:37 +02:00
.lovedeps [crush,.lovedeps] Add crush support. 2022-08-15 23:34:06 +02:00
LICENSE [*] Initial commit. 2022-08-10 17:23:18 +02:00
README.md [README] Streamline header. 2022-08-10 17:56:55 +02:00
crush.lua [crush] Update crush.lua. 2022-08-15 23:53:03 +02:00
init.lua [init] Update require() path for crush library. 2022-08-15 23:36:16 +02:00

README.md

moonspeak - LÖVE game localization library

moonspeak is a basic internationalization library for the LÖVE engine. It makes your game easy to translate into multiple languages.

moonspeak does the following:

  • Loads dictionary files for your game.
  • Allows selecting one of the many available languages.
  • Translates messages by id (and provides default fallback to English).

Dependencies

moonspeak uses df-serialize to read the dictionary file.

df-serialize is also available on LuaRocks.

Documentation

Code is documented with LDoc.

Documentation may be generated running the command:

ldoc init.lua

ldoc outputs to a local doc directory, open index.html with your favorite browser to read it.

License

See LICENSE for details.