[Xerte-dev] XOT changes needed in 1.8

Tom Reijnders reijnders at tor.nl
Sun May 27 10:33:11 BST 2012


The language variable in used XOT is not consistent. In config and 
index.php, the variable _SESSION['default_language'] is set, but in 
several places the variable _SESSION['toolkits_language'] is used (which 
is NOT set).

This means that several of the language string variables used in 
javascript are not set, and thus the javascript fails. This causes the 
problem of not being able to delete files any more.

Furthermore, if a language tree (like nl-NL) does NOT contain the 
definitions of all the variables there is NO fallback to English at the 
moment.

I'll fix that later today or tomorrow.

I will use _SESSION['toolkits_language'], and perhaps 
_SESSION['toolkits_default_language'], to be able to set the default 
language of the website at setup time.

Tom

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196





More information about the Xerte-dev mailing list