[
http://jira.dspace.org/jira/browse/DS-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kim Shepherd updated DS-418:
----------------------------
Attachment: DS-418b.patch
Second patch uploaded: DS-418b.patch (apply in addition to the previous patch)
--
This tiny patch will cause ItemTag to use the session locale for Labels in the
item view, instead of going straight to browser settings to find the locale.
It's tested well for me so far, though I should note that:
- The page could need a refresh if your eperson profile has a locale that isn't
also your browser locale (I'd like confirmation of this under a few browsers)
- Because of Stuart's previous patch, even after logout, the site will be
displayed in the language that was set for the last logged-in eperson, rather
than switching back to browser locale. The previous patch certainly fixed the
problem of DSpace seeming to pick a random (or the last?) available locale to
use once the session was invalidated, but I wonder if we should use browser
locale after invalidating the session rather than 'saving' the old eperson
locale.
Of course, once the session is truly destroyed (the browser is closed, for
example), things revert back to browser locale until next login.
> i18n broken in jspui
> --------------------
>
> Key: DS-418
> URL: http://jira.dspace.org/jira/browse/DS-418
> Project: DSpace 1.x
> Issue Type: Bug
> Components: JSPUI
> Affects Versions: 1.6.0
> Reporter: Claudia Jürgen
> Assignee: Kim Shepherd
> Fix For: 1.6.0
>
> Attachments: [DS-418].patch.txt, DS-418b.patch
>
>
> The i18n of the jspui is broken. Regardless of enabling multiple language or
> not, the language chosen or set by browser or user preferences is partially
> neglected. This varies between different pages or even within one page,
> showing mixed language tags, e.g. in the default item display. Navigating
> from one page to another can cause the language displayed to be changed. This
> behavior appears in different browsers, but with variations from browser to
> browser.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel