Project

General

Profile

Feature #3023

Rails models i18n support for plugins

Added by Lukas Zapletal over 9 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Category:
Internationalization
Target version:
-
Difficulty:
medium
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Phase 1 (get gettext working) already done in #2942


Related issues

Related to Foreman - Feature #2942: Plugin i18n supportClosed2013-08-16

History

#1 Updated by Lukas Zapletal over 9 years ago

#2 Updated by Dominic Cleal over 9 years ago

  • Category set to Internationalization

#3 Updated by Lukas Zapletal over 9 years ago

  • Target version set to 1.15.0
  • Difficulty set to medium

Also as part of this task, catch up with Gregs changes in discovery and update i18n string extraction. Implement models and javascript on discovery first, then update our plugin template.

#4 Updated by Lukas Zapletal over 9 years ago

  • Status changed from New to Assigned

Taking, first of all I want to fix discovery i18n and then I will carry on with this task.

#5 Updated by Dominic Cleal over 9 years ago

  • Assignee set to Lukas Zapletal

#6 Updated by Lukas Zapletal over 9 years ago

  • Target version changed from 1.15.0 to 1.10.0

#7 Updated by Lukas Zapletal over 9 years ago

  • % Done changed from 0 to 50

Discovery i18n plugin is done, now taking foreman_setup to do some model fun.

#8 Updated by Dominic Cleal over 9 years ago

  • Target version changed from 1.10.0 to 1.9.3

#9 Updated by Anonymous over 9 years ago

  • Target version deleted (1.9.3)

#10 Updated by Lukas Zapletal over 9 years ago

Note to myself - first do an investigation and estimation. This can be painful.

#11 Updated by Anonymous about 9 years ago

  • Target version set to 1.9.0

#12 Updated by Anonymous about 9 years ago

  • Target version deleted (1.9.0)

#13 Updated by Anonymous about 9 years ago

  • Target version set to 1.9.0

#14 Updated by Anonymous about 9 years ago

  • Target version changed from 1.9.0 to 1.8.4

#15 Updated by Lukas Zapletal about 9 years ago

  • Target version changed from 1.8.4 to 1.8.3

#16 Updated by Anonymous about 9 years ago

  • Target version deleted (1.8.3)

#17 Updated by Lukas Zapletal over 8 years ago

  • Subject changed from Add models and javascript i18n support for plugins to Rails models i18n support for plugins

Some discussion is here, for the record. Given the complexity of this it would be best to list all the translation in a separate file manually I guess.

https://github.com/grosser/gettext_i18n_rails/issues/100

Removing JavaScript part, Katello implemented that and can be taken as a good template for other plugins.

#18 Updated by Lukas Zapletal over 8 years ago

  • Status changed from Assigned to New

I dont really work on this, sorry to keep it so long.

#19 Updated by Dominic Cleal over 8 years ago

Katello uses Angular rather than the same JS framework (inc gettext_i18n_rails_js) that Foreman does, right? I don't think it's comparable...

Also available in: Atom PDF