Enabling SWAT Internationalization Support
SWAT can be configured to display its messages to match the settings of
the language configurations of your Web browser. It will be passed to SWAT
in the Accept-Language header of the HTTP request.
To enable this feature:
The name of the
file is the same as the language ID sent by the browser. For
If you do not like some of messages, or there are no
your locale, you can create them simply by copying the
to the directory for “your language ID.msg” and filling in proper strings
to each “msgstr”. For example, in
file for the Italian locale, just set:
msgid "Set Default"
msgstr "Imposta Default"
and so on. If you find a mistake or create a new
file, please email it
to us so we will consider it in the next release of Samba. The
file should be encoded in UTF-8.
Note that if you enable this feature and the
display charset is not
matched to your browser's setting, the SWAT display may be corrupted. In a future version of
Samba, SWAT will always display messages with UTF-8 encoding. You will then not need to set
smb.conf file parameter.