Language File
# Added for Iptables GUI
%tr = ( %tr,
'iptfilter' => 'Filter Table',
'iptnat' => 'NAT Table',
'iptmangle' => 'Mangle Table',
);
# When you want to add your own language strings/entries to the ipcop language file,
# you should create a file with <PREFIX>.<LANG>.pl into /var/ipcop/addon-lang dir
# <PREFIX> is free choosable but should be significant. An Example might be "myAddnName"
# <LANG> is a mnemonic of the used language like en, de, it, nl etc.
# You can find a detailed list of possible mnemonic's in the file /var/ipcop/langs/list
# A file could be named "VirtualHttpd.en.pl" for example.
#
# The file content has to start with (of course without the leading #):
# --------- CODE ---------
#%tr = (%tr,
# 'key1' => 'value', # add all your entries key/values here
# 'key2' => 'value' # and end with (of course without the leading #):
#);
# --------- CODE END---------
#
# After you have copied all your files to /var/ipcop/add-lang you have to run the
# script compilation:
# perl -e "require '//var/ipcop/lang.pl'; &Lang::BuildCacheLang"
This page has been viewed 559 times since Nov 2009.
Previous page: iptnat.cgi
Next page: Hourly Graphs Modification
Print this page