By Dennis T. on Tuesday, 06 October 2015
Posted in Technical Issues
Likes 0
Views 647
Votes 0
Hi,

where can i translate this term?
Hey Dennis,

Firstly, please understand that this is not within our support scope. If you need to alter the text, you need to refer to the finder plugin's language file. The hack which Arlex provided always overrides the title .

Anyway, the code snippet which you posted is incorrect. The "default" should be at the end.
·
Wednesday, 14 October 2015 16:25
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Dennis,

These language string is located on this language file -> JoomlaFolder\language\en-GB\en-GB.com_easysocial.ini
COM_EASYSOCIAL_SEARCH_TYPE_PHOTOS="Photos"
COM_EASYSOCIAL_SEARCH_TYPE_ALBUMS="Albums"
COM_EASYSOCIAL_SEARCH_TYPE_GROUPS="Groups"
COM_EASYSOCIAL_SEARCH_TYPE_EVENTS="Events"
COM_EASYSOCIAL_SEARCH_TYPE_PEOPLE="People"
COM_EASYSOCIAL_SEARCH_TYPE_BLOG="Blog"
COM_EASYSOCIAL_SEARCH_TYPE_DISCUSS="Discussion"
COM_EASYSOCIAL_SEARCH_TYPE_VIDEOS="Videos"
·
Tuesday, 06 October 2015 23:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

this string and also the others are not available in my language file even its uptodate (german)
·
Tuesday, 06 October 2015 23:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Dennis,

I've checked in your German language .ini file, it seems like those language string already existed, you can take a look of my screenshot below.

By the way, may i know what is this app 'Jomestate' ?
·
Wednesday, 07 October 2015 00:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok i see it now. Its a component for realestate. But where can i find this term in the search filter?
·
Wednesday, 07 October 2015 00:43
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Dennis,

I am sorry that delay of this reply,

Can you take a look of my screenshot below.

Are you referring this search filter? If yes, it actually located on advanced search page.
·
Wednesday, 07 October 2015 14:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

i mean the term "Jomestate" as in the pic i sent.
·
Wednesday, 07 October 2015 14:14
·
0 Likes
·
0 Votes
·
0 Comments
·
I am sorry that I still a little bit lost here, do you mean you would like to translate this word "Jomestate" ?
·
Wednesday, 07 October 2015 14:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes ;-)
·
Wednesday, 07 October 2015 14:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for getting back to us quickly.

Hmm actually this language string is not located on our Easysocial language .ini file, it would be best if you can consult with "realestate" developer regarding this. Because this app is not developed by ours, hope you understand.
·
Wednesday, 07 October 2015 17:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Iam sure, that the dev of this has no direct integration with his software. But from where does ES load this field into the search?
Also i couldnt find andy joomla plugin related with this...
·
Wednesday, 07 October 2015 19:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Dennis,

The search is loaded from the table #__finder_taxonamy where it getting the data from the title itself. Easysocial only translate the string that my colleague previously provide to you and if you want to translate the rest of the string, unfortunately it require some extra modification in order to do so.

The file that responsible for generating the string is located at /administrator/components/com_easysocial/includes/search/search.php at line 90~115.
·
Wednesday, 07 October 2015 19:34
·
0 Likes
·
0 Votes
·
0 Comments
·
As iam no coder, what exactly do you recommend in order to translate it?
In the file i cant find any entries called Jom..., also in the search is another entry called "Articles"- same thing...
·
Wednesday, 07 October 2015 20:04
·
0 Likes
·
0 Votes
·
0 Comments
·
EasySocial renders the finder from Joomla to populate these search sections. They are in their own translations file, for instance /administrator/language/en-GB/en-GB.plg_content_finder.ini
·
Thursday, 08 October 2015 00:47
·
0 Likes
·
0 Votes
·
0 Comments
·
But there is no term like before mentioned in my post?!
In which file exactly can i find this term?
·
Thursday, 08 October 2015 02:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Dennis,

I am sorry that delay of this reply,

Perhaps you can try modify that language from this table (#__finder_taxonamy) as my colleague mentioned at above and see how it goes?
·
Thursday, 08 October 2015 15:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

i tried to modify both entries, but if i renamed it, suddenly it dissapeared in the search?!
·
Thursday, 08 October 2015 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Dennis,

Hmm, actually this is out of our support scope is because this language string is not handle by us.

By the way, I already create a quick hack in this file -> JoomlaFolder/administrator/components/com_easysocial/includes/search/search.php

// LINE 114 - 116
// hack
case 'Jomestate':
$row->displayTitle = JText::_('COM_JOMESTATE_SEARCH_TYPE_JOMESTATE');


So you can modify the language string from Joomla backend > language > override page ( http://www.replaceYourSiteDomain.com/administrator/index.php?option=com_languages&task=override.edit&id=COM_JOMESTATE_SEARCH_TYPE_JOMESTATE )

Thanks for understand.
·
Friday, 09 October 2015 00:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, but if i type in "jom..." and change their names nothing happen?!
Also i noticed, that the name was already changed to Joms`!

Was it from you?
·
Friday, 09 October 2015 01:08
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome, I help you modified to Jom now from that page URL I mentioned.
·
Friday, 09 October 2015 01:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Great, thanks:)
Maybe do you have a hint for me too for the term "Article"?
Tried to find it via override too, but no result...
·
Friday, 09 October 2015 01:31
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome, you can do the same step as I mentioned at above.

First : Open this file -> JoomlaFolder/administrator/components/com_easysocial/includes/search/search.php
Second : Apply this following code (screenshot : http://screencast.com/t/ufnxrsvuZ )
case 'Article':
$row->displayTitle = JText::_('COM_ARTICLE_SEARCH_TYPE_ARTICLE');
break;

Third : Go to this page -> http://www.replaceYourSiteDomain.com/administrator/index.php?option=com_languages&view=overrides -> add NEW -> then follow what I did on the first override string on this page -> http://www.replaceYourSiteDomain.com/administrator/index.php?option=com_languages&task=override.edit&id=COM_JOMESTATE_SEARCH_TYPE_JOMESTATE

Hope this help.
·
Friday, 09 October 2015 01:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

i made this and created an override path like:
/templates/cd_propertyplan/html/com_easysocial/includes/search

Is there anything wrong with the path, cause it doesnt recognize the file?
·
Wednesday, 14 October 2015 17:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Dennis,

Correct me if I'm wrong, are you planning to have an override for the includes/search.php file? If so, I'm sorry, it is not possible to override this file. You can only use the template override method for the theme file.
·
Wednesday, 14 October 2015 18:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, thanks
·
Wednesday, 14 October 2015 18:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Dennis,

You are welcome.
·
Wednesday, 14 October 2015 18:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post