Kunena 7.0.6 & Kunena 6.4.12 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.6 [K 7.0.6] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0.

The Kunena team is also pleased to announce the twelfth version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question some translations not working (spoiler, confidential, hide)

More
3 weeks 4 days ago - 3 weeks 4 days ago #234999 by joomod
why are some strings not translated?

eg. 
COM_KUNENA_BBCODE_CONFIDENTIAL_TEXT   only comes as Confidential information: 
                   although in the german kunena.libraries.ini it is Vertrauliche Information:
same for  

COM_KUNENA_LIB_BBCODE_SPOILER_HIDE         ([ Click to hide ]  vs.   [ Zum Verstecken klicken ])
COM_KUNENA_LIB_BBCODE_SPOILER_EXPAND   ([ Click to expand ]  vs.   [ Zum Anzeigen klicken ])
COM_KUNENA_BBCODE_SPOILER                           (Warning: Spoiler!   vs.    Warnung: Spoiler!)
COM_KUNENA_BBCODE_HIDDENTEXT                    Part of the message is hidden for the guests. Please log in or register to see it.
             vs.         In diesem Beitrag ist für Gäste nicht alles sichtbar. Um alles zu sehen, muss man registriert und angemeldet sein.

I search so much but didn't find out why these strings are not translated.  who can help?

btw.  @ xillibit
have you thought about to combine the the hidetext function with the thanks button  (so text is only visible after a reg. member clicked thank  you)?
(as seeing in many other forums, - ok it forces the thank you, but is no longer a valid thank you)

 
Last edit: 3 weeks 4 days ago by joomod.
The following user(s) said Thank You: Leaman

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

More
3 weeks 4 days ago #235000 by joomod
found the reason.

in lib/kunena/BBCode/KunenaBBCode.php is this call to load the language file:
Factory::getApplication()->getLanguage()->load('com_kunena.libraries', JPATH_ADMINISTRATOR . '/components/com_kunena');

but in admin/components/com_kunena is only a a copy for  the en-GB files (nothing else) so Kunena will load the engl. file

if I edit the call to the default admin/language folder
Factory::getApplication()->getLanguage()->load('com_kunena.libraries', JPATH_ADMINISTRATOR . '/language');
the we have the en AND de com_kunena.libraries.ini

so to solve this is a bug we must 
 - edit the call in KunenaBBCode.php  - OR - copy the language files to admin/components/com_kunena

 

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

More
3 weeks 1 day ago #235001 by rich
I've tested it and can't confirm this, since the German language is 100% translated. To do this, you need to install the language pack. The language files are installed in /language/de-DE and /administrator/language/de-DE and are also displayed in the editor.

In /components/com_kunena/language/ and 
/administrator/components/com_kunenalanguage/
only the English-language files will installed; everything else is leftover from old installations, and you can remove these language files.

Important! Always create a backup before you make any changes to your website!

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

More
3 weeks 1 day ago #235003 by joomod
@rich

In /components/com_kunena/language/ and 
/administrator/components/com_kunenalanguage/
only the English-language files will installed;

yes, and that's the reason why the call in KunenaBBCode.php
Factory::getApplication()->getLanguage()->load('com_kunena.libraries', JPATH_ADMINISTRATOR . '/components/com_kunena');
only finds the english translation

so if changed it to Factory::getApplication()->getLanguage()->load('com_kunena.libraries', JPATH_ADMINISTRATOR . '/language');
everything works fine

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

More
3 weeks 1 day ago #235005 by rich

so if changed it to Factory::getApplication()->getLanguage()->load('com_kunena.libraries', JPATH_ADMINISTRATOR . '/language');
everything works fine 

It's better to install the Kunena language pack. Only the languages that are already installed in Joomla will be installed anyway.
With your solution, it will only work as long as there are no language updates. After that, you'll be missing new strings.

Important! Always create a backup before you make any changes to your website!

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

More
3 weeks 1 day ago - 3 weeks 1 day ago #235006 by joomod
I think you don't understand.

the language pack is installed already, but as you explain correctly it is copied to
joomla/languages   and   joomla/administrator/languages only,  but

the call in KunenaBBCode.php leads to joomla/administrator/components/com_kunena/languages
where only the en-GB translations are stored (may be from earlier times)
so the call should lead to the actual  joomla/administrator/languages folder
Last edit: 3 weeks 1 day ago by joomod.

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

Time to create page: 0.305 seconds