[Typo3] tt_news and one-tree language versioning
Franz Malten Buemann
buemann at visionteam.dk
Sat May 21 20:06:30 CEST 2005
try:
<--- snip -->
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = dk
<--- snip -->
dk instead of da
Med Venlig Hilsen / Best Regards
Franz Malten Buemann
CEO
Vision Team ApS
Ordrupvej 114
DK-2920 Charlottenlund
Tlf. +45 70 25 85 55
Fax. +45 70 20 73 76
Email: kontakt at visionteam.dk
www: www.visionteam.dk
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Jane Larsen
Sent: 21. maj 2005 19:58
To: TYPO3 English
Subject: [Typo3] tt_news and one-tree language versioning
I have the following in my setup:
#setup the default language in case of bad L variable
config.sys_language_uid = 1
config.language = da
config.linkVars = L
# Danish language, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = da
config.locale_all = danish
# set danish date & time formats
plugin.tt_news {
archiveTitleCObject {
10.strftime = %B - %Y
}
getRelatedCObject {
20.strftime = %d.%m.%Y %H:%M
}
displaySingle {
date_stdWrap.strftime= %d.%m.%y
time_stdWrap.strftime= %H:%M
age_stdWrap.age = Minutter | Timer | Dage | År
}
displayLatest {
date_stdWrap.strftime= %d.%m.%y
time_stdWrap.strftime= %H:%M
}
displayList {
date_stdWrap.strftime= %A %d. %B %Y
time_stdWrap.strftime= %d.%m.%y %H:%M
}
}
But this does not reflect on the page (the easiest thing I can check is the
age which is still shown with english names, e.g. days instead of the
danish: dage) Have I made a mistake, run into a bug or something?
If I cant change this behaviour, can I disable the age display?
//Jane Larsen
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list