📄 localizing.html
字号:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <META NAME="Title" CONTENT="SMS Server Tools 3"> <META NAME="Robots" CONTENT="INDEX,FOLLOW"> <META NAME="Language" CONTENT="English"> <title>SMS Server Tools 3</title><STYLE type="text/css">h3 { background-color: #DCDCFE;}blockquote { background-color: #FFD; font-size: 90%; padding:5pt; padding-top:1pt; margin-bottom:5pt; border-style: outset; border-color: #aaaa99; border-width: 0.05pt 2pt 2pt 0.05pt;}blockquote p:first-letter { font-size: 110%; font-weight: bold; color: red;}</STYLE> </head><body><h2><font color=blue>SMS Server Tools 3</font></h2><a href="index.html">Home</a><h3>Localizing</h3><!-- START --><p><p>Starting from the version 3.1, message files can be written using localized headers.While localization is in use, english words can still be used.Localization settings can also be used to drop some unwanted headers from the incoming files, like "From_TOA".</p><p>A file containing definitions of localization can be defined in the global section of configuration file (smsd.conf)using the setting: <b>language_file = /path_to_smstools3/examples/language-UTF-8.fi</b>. </p><p>Character set used in the language file should match to the locale setting used by the systemwhich creates outgoing message files. This is very important when UTF-8 is used as a locale, becausebyte sequences of special characters should match. Because of this, there is two versions of finnishtranslation available in the <i>examples</i> directory: <b>language-ISO-8859-15.fi</b> and <b>language-UTF-8.fi</b>.</p><p>Headers written using Unicode are not currently supported.If you are interested to use Unicode headers, please contact the author.</p><p>Localization file can contain empty lines and comment lines starting with # character.Keywords are case-insensitive and everything is checked by the smsd.Keyword and value is separated using an equal sign.If there are syntactical failures, an error message is produced and the smsd does not start.</p><p>First, some general settings are available:<table border=1 bgcolor=lightgrey> <tr><td bgcolor=yellow>incoming</td> <td>yes/no. Default: yes. Defines if incoming message files are written using localized headers.</td> </tr> <tr><td bgcolor=yellow>datetime</td> <td>format string. Can be used to localize timestamp format.<br> For example: <b>datetime = %d.%m.%Y %H:%M:%S</b> produces <b>14.08.2007 12:34:56</b>.<br> See <i>man strftime</i> for more details.</td> </tr> <tr><td bgcolor=yellow>yes_word</td> <td>Defines a word to be used when smsd writes "yes" word to the file, like "kyll
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -