Internationalising your skin or plugin
TWiki supports a wide variety of European, Asian and other languages through its
InternationalisationEnhancements, introduced in
TWikiRelease01Feb2003 and improved with UTF-8 URL support in
TWikiRelease02Sep2004.
From TWiki 3 onwards (Sep 2004), there is virtually
no work to be done to internationalise your skin. However, it is important to use the
%CHARSET%
variable in your skin's templates if you currently set the page's character encoding using the
<META>
tag - see
skin and template changes for details.
Plugin work
For plugins, see
InternationalisationGuidelines for details on how to add
I18N support, e.g. where you have assumptions that a letter is 'A to Z'.
Localising your skin
TWiki user interface
I18N now makes it easy to get English text in your skin translated into different languages. See
UserInterfaceInternationalisation for more details.
Historical I18N issues
In the 01 Feb 2003 release, you needed to URL-encode TWiki variables that include web/topic names using
%INTURLENCODE{...}%
- you should install and see
Codev.InternationalisationEnhancements#Skin_and_template_changes for the details. This syntax is stable for this release, and in
TWikiRelease02Sep2004 has turned into a null operation (i.e. it's harmless to include this but it does nothing). In other words, the TWiki code no longer does this type of URL encoding, allowing the browser to UTF-8-encode URLs without TWiki getting involved.