View on GitHub

LIX

An awesome tool for XML translations

download .ZIPdownload .TGZ

LIX (Lua I18N XML Generator - the G is silent)

Reads a CSV file containing translations, generates XML files for each file and language code.

For instance a CSV file containing english and spanish translations for File1 and File2 would produce:

For more details on the architecture and usage, refer to the announcement article.

Sample Input File

The sample spreadsheet that was used to generate test.csv.

Running the parser

Pass in the name of the file as the first and only argument:

lua csvToXml.lua test.csv

Engine Specific Implementation

A helper AI for the ShiVa game engine is included in the shiva folder. It simplifies reading in the xml files based on platform OS language.