1. Carlos Moreira
  2. Translations
  3. Wednesday, 06 November 2019
Dear teams,

In the Search component (I am using the Gazette template), this search string does not translate:

COM_SEARCH_SEARCH_KEYWORD_N_RESULTS_1

When there is only one result, the sentence is the same as the one for "COM_SEARCH_SEARCH_KEYWORD_N_RESULTS".

I went into en-GB.com_search.ini , but all is OK in that file!

Can you please help me?
Thanks.

NB - I believe there should also be an option to translate "zero" results.
Responses (7)
Accepted Answer Pending Moderation
Hi there,

Thanks for your query. Sorry for the inconvenience. Where exactly occurred this issue? I have checked my end & no problem found my end.

-Thanks
  1. more than a month ago
  2. Translations
  3. # 1
Accepted Answer Pending Moderation
Dear Toufiq,

I will send you my credentials for you to log in, and then please search for this string "122" which retrieves only one result:

You just have to follow this link:

http://minhodigital.pt/pt/pesquisar.html?searchword=122&ordering=newest&searchphrase=all&limit=50

Although it is written in Portuguese, I think you can understand the result. There is only one result, and it is not picking up the sentence for just one result:

COM_SEARCH_SEARCH_KEYWORD_N_RESULTS_1="<strong>Total: One result found.</strong>"


Thanks in advance
  1. more than a month ago
  2. Translations
  3. # 2
Accepted Answer Pending Moderation
Hi there,

Thanks for your reply. I have checked your issue. But, no problem found.

https://prnt.sc/pu2soh

-Thanks
  1. more than a month ago
  2. Translations
  3. # 3
Accepted Answer Pending Moderation
Sorry but you don't understand.
I have changed my frontend language to English so you have a clear idea.

If you search for a string like "122" which retrieves one result, instead of...

One result found.

You get the normal Total: 1 results found.

Can you please try again now?
  1. more than a month ago
  2. Translations
  3. # 4
Accepted Answer Pending Moderation
Sorry but you don't understand.
I have changed my frontend language to English so you have a clear idea.

If you search for a string like "122" which retrieves one result, instead of...

One result found.

You get the normal Total: 1 results found.

Can you please try again now?


Hi there, Please share a screenshot that is needed. Thanks
  1. more than a month ago
  2. Translations
  3. # 5
Accepted Answer Pending Moderation
Dear Toufiq, here they go.

I hope it helps you.
I really don't understand why the COM_SEARCH_SEARCH_KEYWORD_N_RESULTS_1 sentence is not being picked up.
As you can see I have created an override, but even the default sentence is not being picked up as well.
It always default to the normal COM_SEARCH_SEARCH_KEYWORD_N_RESULTS which applies to all results.

111.jpg

Clipboard01.png

overrides.jpg

Hope this helps you.
Attachments (3)
  1. more than a month ago
  2. Translations
  3. # 6
Accepted Answer Pending Moderation
Hi there,

Thanks for your reply. Please follow the instructions.

language/en-GB/en-GB.com_search.ini
https://prnt.sc/pv80cq
Copy this code and place on it inside the en-GB.tpl_shaper_gazette.ini file or here
administrator/language/en-GB/en-GB.com_languages.ini
COM_SEARCH_SEARCH_KEYWORD_N_RESULTS="type your text here"

-Thanks
  1. more than a month ago
  2. Translations
  3. # 7


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.