1. Jul 21st, 2008

    I can has I-lots-of-letters-N?

    Coming soon to a Rails near you:

    • The main translation method #translate which is used to lookup translations.
    • The #localize method which is used to localize Date, DateTime and Time objects.
    • It stores the current locale in Thread.current.
    • It stores a default locale which is used when no locale has been passed or set.
    • It stores a backend which carries the actual implementation for the translate and localize methods.
    • It comes with a default exception handler which catches exceptions that are raised in the backend.

    And like everything else Rails:

    We aimed to get started with the most important (and most often re-implemented) things and we’re definitely going to have a second iteration of the whole process

    Sweet because I’m reaching the point where rewriting to a new (any) API would be painful. Upgrading to edge will take the pain out of that.

    (Via Rails Inside)


    Your comment, here ⇓

    Or using OpenID