Skip to content
joshmh edited this page Sep 13, 2010 · 27 revisions

Globalize2

Next Up

  • Locale switching and how it affects loaded models.
  • Start talking about implementation plan.
  • Other stuff (below): caching, helpers, currency.

Priorities

  1. view translations with yaml (file/dir structure)
  2. basic model translations (simplest thing possible)
  3. Locale + Translation classes

Meta

  • We will use RSpec for testing, along with a model factory such as Object Daddy or Factorygirl.
  • The top-most module will be Globalize.
  • The plugin will be distributed as a gem plugin.

Component Specifications

YAML-based View Translation

Other Stuff

  • Caching
  • Helpers
  • Currency formatting
  • Form processing
  • View template switching
  • Determining locale from HTTP, etc
  • Translation view generator — creates controller/view to manage translations online
  • Rake tasks
    • dump, load translations
    • generate migrations
    • look for untranslated keys (possibly)
Clone this wiki locally