[
https://jira.duraspace.org/browse/DS-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19398#action_19398
]
Peter Dietz commented on DS-559:
--------------------------------
The part that is not i18n is the:
dates (i.e. default/always October instead of Oktober for germans)
country names(i.e. default/always Germany instead of Deutschland for germans)
Digging into the problem created DS-844
<kompewter> [ https://jira.duraspace.org/browse/DS-559 ] - [#DS-559] Statistics
column and row labels not i18n - DuraSpace JIRA
<ClaudiaJuergen> PeterDietz: hmm I would count having months, country names
only in English on a non-en page still a mixed content
<ClaudiaJuergen> city names are a different matter, the could be regarded as
proper names
<PeterDietz> ClaudiaJuergen: ok, dates can, and should be fixed, just a
(hopefully) simple matter of passing the Locale to SolrLogger and dates should
be Oktober, instead of October
<PeterDietz> fixing cities/countries might be a mess, see:
http://scm.dspace.org/svn/repo/dspace/trunk/dspace-stats/src/main/java/org/dspace/statistics/util/LocationUtils.java
<PeterDietz> * Mapping between Country codes, English Country names,
<PeterDietz> * Continent Codes, and English Continent names
<PeterDietz> ok, thanks for your help so far. This clears up where the problem
is. I was looking at things like "Statistics" and "Top 5 Downloads" and they
all looked like they were translated
<ClaudiaJuergen> this is messie, are the lists based on any standards?
<ClaudiaJuergen> the countries, associated continents maybe along with the
locale should be in an xml config file
<mhwood> Don't a few countries have multiple locales? (Thinking: Canada,
Switzerland)
<mhwood> Those long parallel lists are trouble in the making. Tracking down
the exact spot to add the continent for whatever southern Sudan turns into will
be tricky work.
* mhwood wonders why we don't use e.g.
java.util.Locale.getDisplayCountry(session's Locale)
<tdonohue> mhwood -- good suggestion. not sure why we aren't using that.
maybe you could add a JIRA issue to suggest that change?
<mhwood> Will do.
<mhwood> https://jira.duraspace.org/browse/DS-844
<kompewter> [ [#DS-844] Simplify, internationalize
org.dspace.statistics.util.LocationUtils - DuraSpace JIRA ] -
https://jira.duraspace.org
<kompewter> [ https://jira.duraspace.org/browse/DS-844 ] - [#DS-844] Simplify,
internationalize org.dspace.statistics.util.LocationUtils - DuraSpace JIRA
> Statistics column and row labels not i18n
> -----------------------------------------
>
> Key: DS-559
> URL: https://jira.duraspace.org/browse/DS-559
> Project: DSpace
> Issue Type: Bug
> Components: JSPUI
> Affects Versions: 1.6.0
> Reporter: Claudia Jürgen
> Assignee: Peter Dietz
> Fix For: 1.7.1
>
>
> The column and row labels used in the SOLR based statistic tables are not
> internationalized but English per default.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel