[SOLVED] Ticket/Forge: CB 1.4 Kalender english

12 years 6 months ago #180050 by strawberry
Hallo ich habe das selbe Problem mit dem Aufruf der richtigen calendar-locals.jp (Sprache).
Habt Ihr das bereits lösen können bzw. wurde bereits über das "Ticket" gelöst in der Zwischenzeit?
Der Pfad der geschrieben wird, geht quasi auf den default-language Ordner. Hm, ich weiss schon gar nicht welche Datei dies aufruft...

Vielen Dank und ich würde mich über eine Antwort sehr freuen.

Please Log in to join the conversation.

12 years 6 months ago - 12 years 6 months ago #180162 by strawberry
a small step further..
Found where the problem is but cannot fix it :)
File: administrator/comprofiler/comprofiler.class.php

function addHeadTag ()
Lines 3108

should it not ask "which one is the default language " instead of "if file_exists".
Language File does of course exist but which is the default language of the current website user?
Sorry, I am not a programmer, just starting to understand a bit of the logic there.

AND, I wont give up :) Appreciate any help :)

Here is the code (original)



if ( ! $added[$this->calendarType] ) {
$UElanguagePath = $_CB_framework->getCfg( 'absolute_path' ).'/components/com_comprofiler/plugin/language';
if ( file_exists( $UElanguagePath.'/'.$_CB_framework->getCfg( 'lang' ).'/'.'calendar-locals.js' ) )
{
$calendarLangFile = '/components/com_comprofiler/plugin/language/'.$_CB_framework->getCfg( 'lang' ).'/calendar-locals.js';
} else
{
$calendarLangFile = '/components/com_comprofiler/plugin/language/default_language/calendar-locals.js';
}
}

Please Log in to join the conversation.

12 years 6 months ago - 12 years 6 months ago #180184 by jojo12
Welche Version hast Du?
Für mich ist das Problem schon lange gelöst, so dass ich schon nicht mehr weiss, was ich gemacht habe. Ich arbeite inzwischen mit J1.7.2. und habe glaube ich dort in german/calender-locals.js angeschaut. Wenn es dort kein solches hätte, würde ich es aus default_language rüberkopieren und dann ändern (Achtung Umlaute).

Please Log in to join the conversation.

12 years 6 months ago #180186 by Lintzy
Hallo strawberry,

du bist hier in einem Deutschsprachigen Forum, bitte hier Deutsch schreiben - speziell dafür existiert das "German" Forum.

Das Problem wurde mit jojo12s Ticket gelöst:

forge.joomlapolis.com/issues/2453

und sollte seit CB 1.7 auch behoben sein.

Please Log in to join the conversation.

12 years 6 months ago #180197 by strawberry
Ich habe Joomla 1.5 installiert, mit CB 1.7.
den CB habe ich in Englisch installiert und dann die deutsche Sprachdatei draufgeladen. Ob es ein Problem der "default-language" mit Sprachlanguage verwechslung sein könnte?
Ich glaube ich habe Joomla 1.5 "Deutsch" installiert. Beim CB habe ich aber die Englische Verison installiert und dann die dt. Sprachdatei als Plugin installiert. Na, ja, das müsste ich nochmal ausprobieren, ob es so zustande kommt, dass die defaults nicht zusammenpassen.

Please Log in to join the conversation.

Moderators: beatnantkrileonXBOOMX
Time to create page: 0.229 seconds

Facebook Twitter LinkedIn