Инструменты пользователя

Инструменты сайта


en:tcmediainfo:documentation:script_getlang

GetLang

Function return the translated value of given term.

GetLang([Term [, Default]])
TermTerm to be translated. If omitted, current language code (ENG, RUS…) will be returned.
DefaultThis string will be used in case translation not found. If omitted, in case of translation not found Term itself will be returned.

Remarks

The function searches for a string in both language files: first MediaInfo.lng, then TCMediaInfo.lng.

en/tcmediainfo/documentation/script_getlang.txt · Последнее изменение: 2025/07/01 12:56 — 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki