Ticket #266 (closed Bug)

Opened 3 years ago

Last modified 3 years ago

locale="en" attribute of publisherRequest ignored

Reported by: patrik@… Owned by: somebody
Priority: Minor Milestone:
Component: Ext - publisher Version: 1.4.1
Keywords: Cc:

Description

[jira2trac import : issue created on March 31, 2006 5:26:16 AM CEST http://issues.cocoondev.org/browse/DSY-266 ]

When I post request with locale en (<p:publisherRequest locale = "en"/>), search result titles are in system default language, which is not English in case of German Windows. But I get correct headers for all other languages. Is there some place where "en" is assumed as system locale, or is there any property to set when invoking repository server?

Change History

comment:1 Changed 3 years ago by paul

  • Status changed from new to closed

[jira2trac import : comment created by bruno on April 4, 2006 10:38:49 AM CEST]

As a workaround, you can try specifying the following options when starting the repository server:

-Duser.language=en -Duser.country=US -Duser.variant=

We should probably add these as default to the repository startup script to have consistent (and correct) behaviour.

comment:2 Changed 3 years ago by paul

[jira2trac import : comment created by bruno on June 19, 2006 9:58:11 AM CEST]

We should fix this soon, as on many systems, especially windows, this will be a problem.

comment:3 Changed 3 years ago by paul

[jira2trac import : comment created by bruno on June 20, 2006 3:42:25 AM CEST]

I've added the mentioned CLI parameters to the wiki and repo startup scripts, and to the service wrapper example scripts in the docs.

Note: See TracTickets for help on using tickets.