Ticket #2287 (new enhancement)

Opened 2 years ago

Last modified 23 months ago

Consistent datetime and time period strings localization

Reported by: seanh Owned by:
Priority: awaiting triage Milestone: ckan-future
Component: ckan Keywords: ecportal i18n
Cc: Repository: ckan
Theme: none

Description

Find all places where date, times and time periods are rendered as strings in CKAN. Make them all go through the same code path (e.g. the helper function in helpers.py) with localization support.

For example, on the user index page right now there are time period strings like "less than 1 month" that currently do not get translated (and the way they're implemented doesn't look i18n-friendly).

ISO date format everywhere might be a good idea.

Need to consider local timezone issues.

Python standard library and Babel may have useful helpers for this.

Should the local timezone displayed be a global setting per CKAN instance? Or should it change depending on the location of the user who is viewing the page?

Change History

comment:1 Changed 2 years ago by ross

  • Milestone changed from ckan-v1.7 to ckan-future

comment:2 Changed 23 months ago by seanh

  • Keywords i18n added
Note: See TracTickets for help on using tickets.