Wikka Wiki Localization
See also:
- List of WikkaSites sites powered by Wikka in 35 languages.
- Current CategoryDevelopmentI18n i18n/l10n development pages.
See in particular:
- Test page for WikkaMultilanguageTestPage multilanguage support
Table of contents
Using different charsets
The default charset used by Wikka is ISO-8859-1. The following is a hack allowing to use UTF-8 as a default charset.
You can test a modified version of Wikka 1.1.6.2 with this hack at: http://int.wikkawiki.org/
Two lines have to be modified in actions/header.php:
original:
- <?php
- $message = $this->GetRedirectMessage();
- $user = $this->GetUser();
modified:
- <?php
- $message = $this->GetRedirectMessage();
- $user = $this->GetUser();
original:
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
modified:
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
A similar hack has to be applied to the /raw handler to correctly display the source as unicode. The following change must be done in libs/Wakka.class.php:
original:
- // raw page handler
- elseif ($this->method == "raw")
- {
- print($this->Method($this->method));
- }
modified
- // raw page handler
- elseif ($this->method == "raw")
- {
- print($this->Method($this->method));
- }
Selected Wikka-sites with specific charsets
(special fonts may be needed to display these sites)- Chinese (simplified) - 简体中文 (UTF-8)
- Czech - Česky (WINDOWS-1250)
- Czech - Česky (ISO-8859-2)
- Hungarian - Magyarul (ISO-8859-2)
- Japanese - 日本語 (EUC-JP)
- Korean - 한국 (UTF-8)
- Polish - Polski (ISO-8859-2)
- Thai - ไทย (ISO-8859-1)
- Turkish - Türkçe (ISO-8859-9)
- Urdu - اردو (UTF-8)
- Vietnamese - Tiếng Việt (UTF-8)
Translating UI strings
The source of Wikka is currently not optimized for UI strings translation, although we are progressively making the code i18n-ready. Most of the UnderDevelopment new actions and handlers announced on this site already contain a UI string section that can be easily modified. To translate UI strings, edit the constant values without removing the variables (strings introduced by a % sign, like: %d, %s etc.), for example:
original:
modified:
Localized packages
Some user-contributed distributions with a localized interface are available for downloading.
Disclaimer
Please note that these distributions have not been tested by the CreditsPage Wikka Development Team (you should contact the authors for issues related to the use of these packages). Packages not using the latest stable release as a codebase may suffer from old bugs and vulnerabilities or lack the most recent functionality.Chinese - 正體中文
Author | CityPig |
---|---|
Code base | 1.1.6.0 |
Charset | UTF-8 |
Size | 612.62Kb |
Last update | 2005-02-14 |
URL | http://www.vixual.net/wikka/wikka.php?wakka=Archive2005021701 |
Download | wikka_1160_vixual_20050214.tgz |
French - Français
Author | r0ro |
---|---|
Code base | 1.1.6.3 |
Charset | ISO-8859-1 |
Size | 703 KB |
Last update | 2007-09-28 |
URL | http://wikkawikifr.free.fr/ |
Download | Wikka-1.1.6.3-FR.tar.gz |
Japanese - 日本語
Author | ShoTanaka |
---|---|
Code base | 1.1.6.0 |
Charset | UTF-8 |
Size | 624.84Kb |
Last update | 2005-07-08 |
URL | http://wiki.netabi.com/DownLoad |
Download | Japanese_Wikka_UTF8.zip |
Author | h_b |
---|---|
Code base | 1.1.6.0 |
Charset | UTF-8 |
Size | 525.0 KB |
Last update | 2008-02-02 |
URL | Localize Wiki |
Download | wikka-1.1.6.0-ja.tar.gz |
Spanish - Español
Author | Antonio Martín |
---|---|
Code base | 1.1.6.2 |
Charset | UTF-8 |
Size | 793 KB |
Last update | 2006-10-30 |
URL | http://www.lenguao.com/weblog/index.php/2006/10/30/traduccion-de-wikka-al-castellano/ |
Download | WikkaES.zip |
CategoryDevelopmentI18n