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:
in the source file, use
#!/bin/gtlang
#language_file ru.gtl
now you could code:
Creating new translation
To create new translation, please download the file
language.template.gtl at github repo https://github.com/taateam/gtlang
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.