Language file

Green Tea is the multi-natural-languages programming language

Usage

To use another language, use #language_file keyword. It must be on the 2nd line of the script.

The variables’ name, functions’ name, classes’ name, keywords could be translated, but hard-coded strings could not.

Ex:

In ru.gtl, we defined:

if=если

for=для

echo=эхо

number=номер

in the source file, use

#!/bin/gtlang

#language_file ru.gtl

now you could code:

если $номер=0

@эхо “\$номерноль”

Creating new translation

To create new translation, please download the file

Then add translation for each line, after the “=” sign.

Then add

#language_file <path_your_language_file.gtl>

to the 2nd line on your source file.