$adilang » History » Version 5
Per Amundsen, 02/16/2023 05:18 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.2_ |
|---|---|---|---|
| 2 | 2 | Per Amundsen | |
| 3 | 3 | Per Amundsen | *$adilang(text)* |
| 4 | 1 | Per Amundsen | |
| 5 | Returns a localized value from English to current language, if no translation exist, the English value is returned. |
||
| 6 | 3 | Per Amundsen | |
| 7 | *Parameters* |
||
| 8 | |||
| 9 | 5 | Per Amundsen | table(ktable). |
| 10 | |*Parameter*|*Description*| |
||
| 11 | | text | Text to translate. | |
||
| 12 | 4 | Per Amundsen | |
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | //echo -ag Translation for 'Commands' is $adilang(Commands) |
||
| 17 | </pre> |