Table of contents ▼▲
(Bug 39) Changing language won't work
Note: This applies to v0.5.0alpha release only!!changing english text in a language file to say cyrillic text makes wikidx generate empty pages for browser -- no html generated at all. for example i tried changing toc.msg like this:
<?xml version="1.0" encoding="UTF-8" ?>
<wiki:msg xmlns:wiki="//turland.net/wikidx" >
<!-- =========================================================== -->
<!-- TOC msgs -->
<!-- =========================================================== -->
<wiki:toc001>ÐмÑÑÑ ÑÑоÑÑнки </wiki:toc001>
</wiki:msg>
I have just replaced my en/toc.xml file with the above and have the cyrillic text showing just fine... Do you have any errors appearing in the apache logs ? Darren
As another test I have created the above into a new language directory
conf/lang/uk/toc.xml, and added $MsgLanguage="uk" to my /data/pages/custom.php. The ukranian text appeared as expected.
Darren
must be the php i'm using... i'll have to check it again, will report php version so we can see if this is the reason. tivasyk
I experienced such symptom (no output after having edited language file) and in my case at least the cause was the editor : with Notepad for instance, you can chose the encoding in the savefile windows, and the default is "ANSI". With this default and if the text contains an é, it seems that some XML or UTF-8 library fails silently (and your get no output). Using "UTF-8" option in notepad, no more problem. Philippe Jartoux