Skip to Content Skip to Menu

Translation problem labels for months.

  • beat
  • beat
  • OFFLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
12 years 10 months ago - 12 years 10 months ago #183511 by beat
There is a small bug in CB 1.7.1 here:

comprofiler.class.php line 3119 and 3120:
Code:
} 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:
Code:
} 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.


to avoid to have that js translation file in an upper-case folder.

Not sure why you needed the "french" folder too. I believe that once that line is fixed fr_fr is enough as folder. We did the strtolower to keep all file and folder-names in lowercase to avoid unix duplicates, but missed it there.

CB bug Forge tracker #3037 : forge.joomlapolis.com/issues/3037

(edited to ad the line 3119).

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
Last edit: 12 years 10 months ago by beat.

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • OFFLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
12 years 10 months ago #183520 by beat
Just to add explanation: it was normal that people with Windows or osX could not reproduce this bug, as those filesystems are not case-sensitive, to contrary of Linux.

Btw: Edited post above to add a line of fix.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in or Create an account to join the conversation.

  • yann.fr
  • yann.fr
  • OFFLINE
  • Posts: 33
  • Thanks: 1
  • Karma: 1
12 years 10 months ago #183640 by yann.fr

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum