I have a local development site running MAMP 1.7.2 (PHP Version 5.2.6, Apache 2.0) on mac OS X 10.5 (Safari 4.0.3) and I am with 1and1 for my hosting. All seems to be fine except that I have come across some behaviour that I don't understand and can't seem to resolve - but then I'm not that deeply into the code.
I have multilingual set in my _config.php using: Object::add_extension('SiteTree', 'Translatable'); with no default local defined, but I have two translations en_US and es_ES.
Putting $Translations into my page template on my local dev site results in the following code being delivered in the web-page source:
<li onclick="location.href = this.getElementsByTagName('a').href"><a href="">whatever</a></li>
Whereas it produces an empty result on my live site.
FWIW $Locale gives the correct return on both sites.
I have tried setting dev mode but nothing changes.
Can anyone give me some pointers as to where I might look further for a resolution to the problem?