Search: "Article" tagged with, string?

General questions regarding the use of languages in Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Hammur
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Wed Apr 02, 2014 8:54 am

Search: "Article" tagged with, string?

Post by Hammur » Thu Oct 30, 2014 9:56 am

Hi, when you search for tags with the search component.
You get a list with articles tagged with the given tag like this

Articles title
(article tagged with: [Tag])
article intro text
Articles title
(article tagged with: [Tag])
article intro text
Articles title
(article tagged with: [Tag])
article intro text
etc...

In the xx-XX.plg_search_tags.ini file in the administrator folder I can translate the "tagged with:" string.

But where is the language string for the "article"?

(It's not the "Article" string in the xx-XX.plg_search_content.ini)
You do not have the required permissions to view the files attached to this post.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Search: "Article" tagged with, string?

Post by infograf768 » Thu Oct 30, 2014 10:44 am

The string used is:
PLG_SEARCH_TAGS_ITEM_TAGGED_WITH="%s tagged with: %s"

the code used is
$new_item->section = JText::sprintf('PLG_SEARCH_TAGS_ITEM_TAGGED_WITH', $item->content_type_title, $row->title);

Therefore the "Article" comes from the "$item->content_type_title" variable.
And you are pointing indeed to an issue: we have no lang string for each content-type, therefore it is NOT translated in Joomla.

Looking into it now.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Search: "Article" tagged with, string?

Post by infograf768 » Thu Oct 30, 2014 1:19 pm

Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Locked

Return to “Language - Joomla! 3.x”