Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Change headings to proper language

9 years 1 month ago
Licenses:
JomSocial Active Socialize Expired

ISSUE SUMMARY:
I have several sidebar modules that display in English language. However when the site switches to another language the headings stay in English while the other parts in Jomsocial switch to foreign language that is chosen. How to fix this issue? Thanks.

STEPS TO REPLICATE:
1 Choose Spanish language at the top of the page
2 Scroll down to side modules
3
4
5
RESULT- Module headings remain in English
EXPECTED RESULT-Module headings to switch to Spanish language
BROWSER- Firefox, Chrome

Attachments:
9 years 1 month ago
Licenses:

Hi,

if you using Socialize template. please edit:
/templates/socialize/html/modules.php at line 49, change the code from

if ($module->showtitle != 0) {
	$html .= "<{$headerTag} class=\"module-title {$headerClass}\"><span>{$module->title}</span></{$headerTag}>";
}
to
if ($module->showtitle != 0) {
	$module->title = JText::_($module->title);
	$html .= "<{$headerTag} class=\"module-title {$headerClass}\"><span>{$module->title}</span></{$headerTag}>";
}

after that you can put language constant at module title (joomla backend > modules manager).
and make sure that language constant exist at translation

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW