Page 1 of 1

[Viewer 6.9.2 & 6.9.3] Search results : current selected language ignored Issue

Posted: 15 May 2020, 10:03
by tkinte
Hi.

The Search results page does not take in account the current selected language.
It always defaults to the default language (english). Appending manually the &cl=.... helps but static texts in the page still remain in english, as no keys are defined in the lg-cu.xml files

&cl=fr-fr

Code: Select all

http://localhost:8080/essential_viewer_693/report?XSL=common%2Fcore_search_results.xsl&XML=reportXML.xml&label=Search+Query&SearchQuery=live&cl=fr-fr
Best regards.


Tshitshi

Re: [Viewer 6.9.2 & 6.9.3] Search results : current selected language ignored Issue

Posted: 18 May 2020, 10:16
by jonathan.carter
Hi Tshitshi,

Thanks for raising this.
I've had a look at the Search view and it is prepared for translations but it looks like the link on the toolbar is not passing the current language (which is a bug!).

When you force it - by adding the "cl" URL parameter as you described - those phrases that have translations will be translated. However, translation is phrase-based, so you might need to add some missing translations to the fr-fr.xml "table", for things like: "Search", "Search Name" etc.

I'll raise a ticket for resolving the link to the Search page

Jonathan

Re: [Viewer 6.9.2 & 6.9.3] Search results : current selected language ignored Issue

Posted: 18 May 2020, 14:35
by tkinte
Hi Jonathan.

Thank you.

Best regards.

Tshitshi