GBC Language Cabinet is an easy to use way to display text in different languages. Simply specify which languages you are supporting, create or import tables of translated text, and use a basic function call to return the text in the correct language.
Several options exist to make your life even easier:
- Text can be created with embedded keys. During the getText call, parameters can then be passed via a table. The returning text will be formatted to replace the keys with the parameters you passed. See below for examples.
- You can import a comma-delimited file or a json file containing your text (including embedded keys!) instead of using multiple addText calls.