![]() |
![]() |
trloadLoads a translation catalogue |
Syntax |
|
Description |
Loads the specified translation <catalogue> in the current user language. The translation catalogues are *.mo files compiled with the standard msgfmt program from the gettext package. The syntax of the catalogue names is: <catalogue_dir>/<catalogue>_<language>.mo KVIrc looks for the catalogues in <catalogue_dir> (if specified) and in the locale subdirectory of the global and local KVIrc directories. <language> is choose automatically by KVIrc depending on the user's locale. Catalogues MUST be in UTF8 encoding. After a translation catalogue has been loaded you can access its strings by the means of $tr. This function doesn't print any warning unless -v is specified. NOTE This feature is currently work in progress: the scripting engine is not yet fully unicode and thus some more exotic translations may still suffer... |
See also |
$tr, trunload |