ARDT (not functional in beta 1.2) - duch3201/LightFile GitHub Wiki

ARDT (pronounced: "ART") is a translation technology that makes translating the app easy!

note: ARDT is not present in version 1.0

How to add a laungage to LightFile

  1. Create a folder in the "lang" directory with the name of the language but written in short I.e ENG, PL, POR etc (please keep the folder name to max three characters)

  2. Go to the config.py file and add/edit

Add the folder name here.

languages_short = ["ENG", "PL", "POR", "FOLDER NAME HERE"]

After that, add the complete name of the language here:

languages_long  = ["English", "Polish", "Portuguese", "LANGUAGE NAME HERE"]

it is extremely important to leave it in order!

  1. Now all you have to do is to translate the text that is in the app. here is everything that needs to be translated

Selected to compress. Enter the input file > 88.txt

Enter the path to the output folder > 90.txt

This Directory does not exist! > 111.txt

is not a directory! > 114.txt

You do not have permissions to change this file > 117.txt

raw size: > 125.txt

comppresed size: > 140.txt

Insert the new compressed file name > 145.txt

do you want to delete the original file? > 151.txt

elapsed time: > 181.txt

repeat the same process for the decompression directory but change the meaning of some sentences to involve decompression


So now that you followed all these steps your translated version should work however if you encounter any bugs please report them i hope that this was easy to setup, also if you are going to translate the app it would be great if you would push your change to github!