Uncommon date - language problem - please help... Hello to all Mambers,
first of all: thank you very much to all posters and off course the mambers-staff.
This comunity rocks like Mambo itself.
The config: Mambo 4.5.0 (1.0.9) with Mamblefish and the additional language-detection-script. 6 languages on frontend, everything works flawless.
But one minor thingy is driving me crazy. Assume that I scanned every hint on how to set up the date. It's working perfect at the content-side, translating correct to every of the six languages at the content.
Once I set up the position of the date at the very top of the template (for example in the template tdwsepiafixed), the date is not getting translated when switching languages.
Once I open this template and transfer the string <?php echo (strftime (_DATE_FORMAT_LC)); ?> to the footer of the template and reload it again, the date is translating correct.
I believe that this have to do with mamblefish and the way mamblefish is handing over the information about the actual choosen language. But it could be as well because of the language-detection-script.
The call of the date in the upper part of the template needs a language-information wich is getting handed over in the middle of the template. If you call the date in the footer, the language-information is existing already and therefore the date shows up correct.
I saw some sites where this problem get solved already, but wasn't able to get in touch with some of the programmers so far.
Can somebody please give me a hint on how to alter the script in order to hand over the language-information earlier?
Thank you very much. Regs, Thomas |