[
https://issues.apache.org/jira/browse/ROL-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719521#comment-13719521
]
Maciej Rumianowski commented on ROL-1964:
-----------------------------------------
Hi.
The problem is that if you enable multiple languages on a blog and access page
with different locale ex. http://localhost/roller/test/de common words like
"Search" are translated to "Suche", but on the search page they are not.
To Sum up, on page http://localhost/roller/test/de/search?q=test:
Text shown: "You searched this site for "test". 0 entries found."
Expected: "Sie durchsuchten diese Site nach der "test". 0 Einträge gefunden."
Also: $model.locale is null
Expected: $model.locale should be "de"
I am testing on 5.0.1 and trunk.
About the with two URLs:
In Roller 5 I see that there are also two valid URLs and localised Search page
returns bad links :(
Doing localised search returns posts in all Languages and post in German gets
link with en locale, but this link is invalid.
So I think the case with SearchServlet needs more thinking and improvements. I
will propose something later.
How can I reach dev mailing list? I subscribed and sent message to
[email protected], but Can't see it on
http://mail-archives.apache.org/mod_mbox/roller-dev/201307.mbox/browser
> SearchServlet does not preserve locale
> --------------------------------------
>
> Key: ROL-1964
> URL: https://issues.apache.org/jira/browse/ROL-1964
> Project: Roller
> Issue Type: Improvement
> Components: Page Rendering & Management
> Reporter: Maciej Rumianowski
> Assignee: Roller Unassigned
> Priority: Minor
> Attachments: search.patch
>
>
> Search page is not localized:
> http://localhost/roller/test/de/search?q=test
> http://localhost/roller/test/en/search?q=test
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira