mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-22 13:03:47 +01:00
12 lines
550 B
Markdown
Executable File
12 lines
550 B
Markdown
Executable File
# ¿How it works?
|
|
|
|
It's based in a array ($T_[]), because it pass to Twig as T_.TEXT, for "fast" translating it.
|
|
In the english.php there are annotations for all, and its the reference for new versions.
|
|
There is a T_VERSION as define, for knowing version of this translate, changed when new sentences are.
|
|
|
|
When help, its only for next line (Unless specified), and is provided with a starting comment like that:
|
|
'''
|
|
//(Example twig page with it) Description
|
|
$T_['internal_name'] = 'Translation';
|
|
'''
|
|
Lines before that are not of that help. |