- You are here:
- Main › Forum › Bug Tracker
[cBB chat 1.1.0] language variables are not loaded
3 posts
• Page 1 of 1
-
- leschek
- Posts: 65
- Joined: Sat Sep 08, 2012 10:08 pm
Sun May 24, 2015 4:26 pm • via Web
It seems that language variables are not loaded (in chat window on index) from language files if they are from different language than the default language of board. For example if I set board language to English, but in UCP I change language to Czech (extension's files are translated) the chat window shows English lines and not Czech as it should. I think it is similar problem as I reported couple of months ago to author of phpBB Gallery extension.
- IvanPF
- Administrator
- Posts: 2029
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Mon May 25, 2015 10:35 am • via Web
Hi,
Try with this:
1. Open: /ext/canidev/chat/event/listener.php
2. find:
3. Replace with:
Try with this:
1. Open: /ext/canidev/chat/event/listener.php
2. find:
- Code: Select all
$this->user->add_lang_ext('canidev/chat', 'main');
3. Replace with:
- Code: Select all
$lang_set_ext = $event['lang_set_ext'];
$lang_set_ext[] = array(
'ext_name' => 'canidev/chat',
'lang_set' => 'main',
);
$event['lang_set_ext'] = $lang_set_ext;
-
- leschek
- Posts: 65
- Joined: Sat Sep 08, 2012 10:08 pm
Mon May 25, 2015 12:56 pm • via Web
Thank you,
it seems it's working now.
it seems it's working now.
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
- External Links
- phpBB Official
- phpBB Official (Spanish)
- Raul Arroyo Monzo
- PasionReef
- About CaniDev
- Terms of use
- Privacy Policy
- About Us
- Contact
- © 2011-2024 CaniDev