[
https://jira.duraspace.org/browse/DS-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22343#comment-22343
]
Peter Dietz commented on DS-559:
--------------------------------
I'm afraid I may have to punt on this issue for 1.8.
I'm not sure where would be best to enforce a specific language on the value
for a column like the month name.
https://github.com/DSpace/DSpace/blob/5307680c74fd4a8975726ce2ce2f1a35515fee76/dspace-stats/src/main/java/org/dspace/statistics/content/StatisticsDataVisits.java#L191
{code:title=StatisticsDataVisits.java}
//Now add the column label
dataset.setRowLabel(0,
getResultName(dataSetQuery.getName(), dataSetQuery, context));
dataset.setRowLabelAttr(0,
getAttributes(dataSetQuery.getName(), dataSetQuery, context));
{code}
https://github.com/DSpace/DSpace/blob/5307680c74fd4a8975726ce2ce2f1a35515fee76/dspace-stats/src/main/java/org/dspace/statistics/SolrLogger.java#L720
{code:title=SolrLogger.java}
// Run over our datefacet & store all the values
for (int i = 0; i < dateFacet.getValues().size(); i++)
{
FacetField.Count dateCount = dateFacet.getValues().get(i);
result[i] = new ObjectCount();
result[i].setCount(dateCount.getCount());
result[i].setValue(getDateView(dateCount.getName(), dateType));
}
{code}
Or possibly the most direct place:
https://github.com/DSpace/DSpace/blob/5307680c74fd4a8975726ce2ce2f1a35515fee76/dspace-stats/src/main/java/org/dspace/statistics/SolrLogger.java#L798
{code:title=SolrLogger.java}
else if ("MONTH".equals(type))
{
dateformatString = "MMMM yyyy";
}
{code}
> 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.8.0
>
>
> 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, please contact your JIRA administrators:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel