<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I've again a strange issue with languages in XOT. However, it might be a simple user error, I don't really know. <br><br></div>A few weeks ago I finally managed to execute a complete translation in a XOT v.19 with these steps:<br>
</div>- adding Hungarian language to languages/language-config.xml <br></div>- creating and translating languages/engine_hu-HU.xml and languages/wizard_hu-HU.xml<br></div>- adding $_SESSION['toolkits_language'] = "hu-HU"; line to _load_language_file() function in functions.php in order to make Hungarian the default language<br>
</div>- and finally creating /modules/xerte/parent_templates/Nottingham/wizards/hu-HU/data.xwd with all the necessary language dependent texts. (according to this email: <a href="http://lists.nottingham.ac.uk/pipermail/xerte-dev/2013-January/003424.html">http://lists.nottingham.ac.uk/pipermail/xerte-dev/2013-January/003424.html</a>)<br>
<br></div>As far as I remember these were all the changes I made. This configuration works very well in that istallation but today I had to do the same in XOT v1.8 and it partially failed. Language variables coming from engine_hu-HU.xml and wizard_hu-HU.xml were loaded correctly but /hu-HU/data.xwd was not found and the original English expressions were used instead.<br>
<br></div>Did I missed something or it might be a version related issue?<br><br></div>Thanks in advance!<br><br></div>Istvan<br></div>