Actions
Bug #3037
closedCalendar language file included with e.g. fr_FR folder different from CB-standard fr_fr folder
Description
As reported here and analyzed here:
https://www.joomlapolis.com/forum/153-professional-member-support/183282-translation-problem-labels-for-months?limit=6&start=12#183511
https://www.joomlapolis.com/forum/153-professional-member-support/183474-mauvaise-installation-des-plugins-de-langue#183479
comprofiler.class.php line 3119 and 3120:
} elseif ( file_exists( $UElanguagePath.'/'.$_CB_framework->getCfg( 'lang_tag' ).'/calendar-locals.js' ) ) {
$calendarLangFile = '/components/com_comprofiler/plugin/language/'.$_CB_framework->getCfg( 'lang_tag' ).'/calendar-locals.js';
should be:
} elseif ( file_exists( $UElanguagePath.'/' . strtolower( $_CB_framework->getCfg( 'lang_tag' ) ) . '/calendar-locals.js' ) ) {
$calendarLangFile = '/components/com_comprofiler/plugin/language/'.strtolower($_CB_framework->getCfg( 'lang_tag' )).'/calendar-locals.js';
to avoid to have that js translation file in an upper-case folder.
Updated by beat almost 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed in r1636 .
Actions