|
Demo
Discussion
|
Forum
Config Examples
Contributions
Vulnerabilities
|
Discussion forum about ELOG |
Not logged in |
|
|
|
Message ID: 1439
Entry time: Mon Oct 10 12:53:46 2005
In reply to: 1433
|
|
Category: |
Other |
OS: |
All |
ELOG Version: |
2.6.0beta5 |
|
Subject: |
Re: The Chinese Language,Demo Configuration and Help Files |
|
|
Exaos Lee wrote: | I want to make elogd display the date in Chinese format. Please tell me howto. |
Thank you for the files.
If you specify
Language = zh_CN
Then elogd looks for a file "eloglang.zh_CN" for the translation, for a file "eloghelp_zh.html"
for the help, and does a
setlocale("zh_CN");
to switch to Chinese date format. To retrieve the date, elogd calls strftime("%x"); |