Ticket #2264 (closed enhancement: fixed)
Do an audit of string translations in CKAN core and ckanext-ecportal
Reported by: | seanh | Owned by: | seanh |
---|---|---|---|
Priority: | awaiting triage | Milestone: | ckan-sprint-2012-04-16 |
Component: | ckan | Keywords: | i18n |
Cc: | Repository: | ckan | |
Theme: | none |
Description (last modified by seanh) (diff)
Check to see that all the strings are getting translated, i.e. that all user-visible strings are being passed to gettext. Fix any strings that are not getting translated.
Change History
comment:1 Changed 2 years ago by seanh
- Milestone changed from ckan-sprint-2012-04-02 to current-ckan-sprint-2012-04-16
comment:3 Changed 2 years ago by seanh
Many strings have been fixed (and committed on master). Still to go:
When uploading a file:
- The "Browse..." button. This comes from the user's browser?
- Hangs when I try to upload a file, so the rest of this UI is unchecked.
The licenses on the dataset add, edit and view pages, "License Not Specified" etc.
Dataset state on dataset view page, e.g. "active".
When adding or editing resources:
- The resource types (Data File, etc.) The strings seem to come from resource.resource_type.
- "You can use Markdown formatting here", "Should a DataStore? table and Data API be enabled for this resource?", "Dates are in ISO Format — eg. 2012-12-25 or 2010-05-31T14:30". I can't get strings with hyperlinks in them to translate here.
Dataset view page:
- License not specified.
Dataset search page:
- "Tags", "Res_format" and "Groups" in the sidebar. Leaving because this code has been refactored on feature-1821-multilingual-extension. Fix after that branch has been merged.
Dataset view page:
- The resource types, e.g. "plain text".
- The field names under additional information: cache_last_updated etc.
Dataset history view: timestamps not localised.
Login page:
- "Login failed. Bad username or password. (Or if using OpenID, it hasn't been associated with a user account.)" This string is marked for translation but I can't seem to get translations to work for flash messages. Also "Sean Hammond is now logged in" flash message.
Register page:
- "Missing value" in error message when you try to register and don't give an email. The string seems to come from formencode. stdtrans() not working?
User view page:
- Activity streams strings. Activity streams genshi function needs a little refactoring to be i18n-friendly.
Users page:
- "less than 1 month". This string comes from Pylons' time_ago_in_words() function which doesn't appear to support i18n.
New auth group (and edit auth group) page:
- "Unique identifier for group. 2+ chars, lowercase, using only 'a-z0-9' and '-_'". This string is marked for translation but for some reason it isn't working.
- "Name: Please enter a value" (in an error msg)
- "User name". The string comes from class FormBuilder??
Also, need to check that all tooltips are translated!