By Niccolo Angeli on Friday, 08 June 2018
Posted in General Issues
Replies 1
Likes 0
Views 589
Votes 0
Hello,
I need to translate the "Serach" toolbar tooltip, so far I found these strings in the english langauge file
COM_EASYDISCUSS_BUTTON_SEARCH="Search"
COM_EASYDISCUSS_TOOLBAR_SEARCH="Search"
COM_EASYDISCUSS_SEARCH="Search"
COM_EASYDISCUSS_SEARCH_BUTTON="Search"

but they are all already translated in my language file

coudl you tell me for whcih string to look exactly, or check if the word is hardcoded and not translatable?

Thank you
Looks like there is a bug here as the tooltip is hardcoded currently. You can edit the file /components/com_easydiscuss/themes/wireframe/toolbar/default.php and at line 191 locate the codes below,

[gist]
<div class="o-nav__item" data-original-title="Search" data-placement="top" data-ed-provide="tooltip">
[/gist]

Replace it with,

[gist]
<div class="o-nav__item" data-original-title="<?php echo JText::_('COM_EASYDISCUSS_SEARCH');?>" data-placement="top" data-ed-provide="tooltip">
[/gist]
·
Friday, 08 June 2018 17:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post