Zum Inhalt springen

Ext:Cal - Formate falsch für Month_small (Tag/Monat)!!

Erstellt am 3. April 2007 · 3 Antworten · letzte Antwort am 29. Oktober 2007

Tags: Kalender & Termine, Frage

El_Rolando ·

Hallo Forum,

Ich habe ein kleines Problem mit der Cal-Extension!
Installiert und eingerichtet habe ich sie... alles super...

Dann habe ich die Formate auf deutsch umgestellt...
funktioniert soweit auch!

Ausser beim Month_small.tmpl!!
(D.h. bei der kleinen Monatsübersicht!)

Der Marker ###MONTH_TITLE### wird immer noch mit z.B. mit March, April, May etc. gefüllt! Statt März, April, Mai... etc.

Auch der Marker ###WEEKDAY### mit: Mo, Tu, We, Th, Fr, Sa, Su!!?? Statt: Mo, Di, Mi, Do, Fr, Sa, So!!

Habe leider auch nach langem suchen und probieren nichts gefunden!
Kann mir jemand einen Tipp geben? Merci!

In den Constants habe ich schon mal:

plugin.tx_cal_controller.view.dateFormat = %d.%m.%y
plugin.tx_cal_controller.view.timeFormat = %H:%M

...und im Setup:

plugin.tx_cal_controller {
  view {

    day.dateFormatWeekList = %d.%m.%y
    day.dateFormatDay = %d.%m.%y
    day.timeFormatDay = %H:%M
    day.eventTimeFormat = %H:%M
    day.eventDateFormat = %d.%m.%y

    week.dateFormatWeekList = %d.%m.%y
    week.dateFormatWeek = %d.%m.%y
    week.timeFormatWeek = %H:%M
    week.eventStartTimeFormatWeek = %H:%M
    week.eventEndTimeFormatWeek = %H:%M
    week.eventTimeFormat = %H:%M
    week.eventDateFormat = %d.%m.%y
  }
}

Bin erstaunt, dass das nicht reicht!? Welchen habe ich vergessen?
Danke für Hilfe!

El_Rolando

El_Rolando ·

Hallo!?!?

Kann hier wirklich niemand helfen?
Habe das Problem nämlich immer noch!!

Liegt es evtl. an den allgemeinen Spracheinstellungen?
Diese sehen bei mir wie folgt aus:

page{
	config.sys_language_uid = 0
	config.language = de
	config.locale_all = german
	config.locale_all = de_DE
	config.locale_all = de_DE@euro
	config.locale_all = de_DE.ISO8859-1
}

Wäre wirklich froh, wenn jemand helfen könnte... komme nicht mehr weiter und habe auch keine Ideen mehr....

Merci!

El_Rolando ·

Habe irgendow gelesen, dass man auf der Konsole (Linux) per: "locale -a|grep de" herausfinden kann welche locales installiert sind!

Hier wird bei mir folgendes ausgegeben:

de_CH
de_CH.iso88591

Es funktioniert aber keines von beiden...

Weiter habe ich folgende Kombinationen versucht...

de_DE.ISO8859-1
de_DE.ISO8859-15
de_DE.ISO_8859-1
de_DE.ISO_8859-15
de
de_DE
de_DE@euro
de_DE.ISO88591
de_DE.ISO885915
german

Mein TS... falls es weiter hilft:

[ !!!!!!! Hier habe ich es versucht !!!!!!!!!!! ]:

config.locale_all = de_CH.ISO88591

############################################################
##  Definition des Default PAGE objects  ##########################
page = PAGE
page.typeNum=0

## statische Seiten simulieren  ##################################
page.config.simulateStaticDocuments_noTypeIfNoTitle = 1

############################################################
##  DOCTYPE  (Konfiguration des XHTML Doctype)  ###################
page.config.doctype = xhtml_trans
page.config.xhtml_cleaning = all
page.config.htmlTag_langKey = de

############################################################
##  BODYDATA  (Konfiguration des BodyTag)  ###################
page.bodyTag = <body>


############################################################
##  SPRACHE Einstellung der Sprache auf Deutsch  ################
page {
[ !!!!!!! Hier habe ich es auch versucht !!!!!!!!!!! ]:!?!!?!??!?!
	config.sys_language_uid = 0
	config.language = de
        config.locale_all = de_CH
        config.locale_all = de_CH.iso88591
	config.locale_all = german
	config.locale_all = de_DE
	config.locale_all = de_DE@euro
	config.locale_all = de_DE.ISO8859-1
}

############################################################
##  Datum & Zeit Formatanpassung für Deutsch  ###################
page.date_stdWrap.strftime = %d. %B %Y
page.time_stdWrap.strftime= %H:%M


############################################################
##  STYLESHEETS, die verwendet werden  #######################
page.includeCSS {
	file1 = fileadmin/css/style.css
        file2 = fileadmin/css/menu.css
	file3 = fileadmin/css/calendar.css
}


############################################################
##  TEMPLATE (HTML-Vorlage), das verwendet wird  #############
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/html/calendar.html


############################################################
##  Bereich (DOKUMENT), in dem die MARKER stehen  ##########
workOnSubpart = DOKUMENT


############################################################
##  CONTENTBEREICHS (DOKUMENT) -- START  #############


## CONTENTHEAD Start #########################################
marks.CONTENTHEAD < styles.content.getLeft
## CONTENTHEAD End ##########################################

## CONTENT Start #############################################
marks.CONTENT < styles.content.get
## CONTENT End ##############################################

## UNTERNAVI Start #############################################
marks.UNTERNAVI < styles.content.getRight
## UNTERNAVI End ##############################################

############################################################
##  Endklammer des Page Objekts (Start in Template)  ##############
}


############################################################
##  Sonstige nützliche Anpassungen!!  ############################
############################################################

##  Formular senden soll keine neue Seite öffnen!  ##################
tt_content.mailform.20.target = _top

##  Einschalten des Spam Schutzes  ##############################
##  und Angabe in welches Symbol @ umgewandelt wird. ############
##  Standard: (at) (benötigt allerdings Java)! ######################
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)


############################################################
## Konfigurationen für das Calendarmodul Start ######################

## Calendar Datum- und Zeitformat anpassen #################
plugin.tx_cal_controller {

# Die Templates
    view.week.weekTemplate = fileadmin/tchuenenberg/templates/calendar/week.html
    view.day.dayTemplate = fileadmin/tchuenenberg/templates/calendar/day.html
    view.other.sidebarTemplate = fileadmin/tchuenenberg/templates/calendar/sidebar.html
    view.month.monthSmallTemplate = fileadmin/tchuenenberg/templates/calendar/month_small.html

       view.week {
    dateFormatWeekList = %d.%m.%y
    dateFormatDay = %d.%m.%y
    timeFormatDay = %H:%M
    dateFormatWeek = %d. %B %Y
    timeFormatWeek = %H:%M
    eventStartTimeFormatWeek = %H:%M
    eventEndTimeFormatWeek = %H:%M
   }

   view.day {
    dateFormatWeekList = %d.%B %Y
    dateFormatDay = %a, %d.%m.%y
    timeFormatDay = %H:%M
    dateFormatWeek = %d.%B
    timeFormatWeek = %H:%M
    eventStartTimeFormatWeek = %H:%M
    eventEndTimeFormatWeek = %H:%M
   }

   view.event {
    dateFormat = %d.%B %Y
    timeFormat = %H:%M
   }

   view.list {
    dateFormatList = %d.%m.%y
    timeFormatList = %H:%M
   }

   view.month {
    dateFormatMonth = %B %Y
   }

   view.other {
    dateFormatWeekJump = %d.%b
    dateFormatMonthJump = %B %Y
   }

    view.list.image.imageLightbox2 = 1

    view.event.image.imageLightbox2 = 1

    view.location.image.imageLightbox2 = 1
}
## Konfigurationen für das Calendarmodul End #######################
############################################################