Actions
Feature #2368
closedAdd i18n support for Foreman
Description
We need i18n support. The task is:
- extract strings from app
- extract strings from views
- extract strings from javascript
- make it working
- integrate with Transifex
- integrate in the packaging
- improve current gettext initialization code
- create an option in settings.yml which will help out finding untranslated UI strings
- announce
There is already initial support of gettext in the develop branch, the goal would be to improve it a bit.
Updated by Lukas Zapletal over 11 years ago
The task is:
extract strings from appextract strings from views- extract strings from javascript
integrate with Transifex- integrate with Zanata
- integrate in the packaging
improve current gettext initialization codecreate an option in settings.yml which will help out finding untranslated UI stringscreate policy checker for extracted strings
TODO:
turn off fuzzy warningsincorporate spanish translation - https://github.com/eLobato/foreman/blob/23d083b16850694f00d07ead3f14e58832723081/locale/es/app.poapp/models/host/managed.rb: "Pending Installation" - all these should be translated (check)Bryan translated some exception names e.g. raise _("Must provide an operating systems") - this must not be translated - double checkfew "* ... *" untranslated (ERB)come up with exception handling (with error codes?)vim app/models/*/*rbdasboard overview -> Active, "No report" or "Pending changes" are symbols (investigate)smart proxy features like "Puppet" or "Puppet CA" should not be translated as it is used in SQL queries (double check)consider http://www.yotabanana.com/hiki/ruby-gettext-howto-rails.html#Untranslation+option or https://github.com/grosser/gettext_i18n_rails#customizing-list-of-translatable-files
Updated by Dominic Cleal over 11 years ago
- Category set to Internationalization
Created a new category as I think we'll be revisiting this.
Updated by Lukas Zapletal over 11 years ago
- Category deleted (
Internationalization) - % Done changed from 80 to 100
Done with UI testing, tests are green, merging Dominnic branch and we are ready.
Updated by Ohad Levy over 11 years ago
- Category set to Web Interface
- Status changed from Assigned to Closed
- Target version set to 1.2.0
Actions