I18n_routing: Easy routes translations for Rails 2.x And Rails3

Hi everyone,

Last week, I have finaly pushed my plugin that do Rails routing
translation on github.
It’s based on top of I18n api and it works with Rails 2 and Rails 3 !

I currently use it in production on several Rails 2 projects.

The usage is extremly simple, juste declare your routes in a localized
block, like this :

localized do
resources :users
end

There is a last thing I need to do : making the plugin compatible with
deep nested resources :confused:

The github : GitHub - kwi/i18n_routing: I18n routing module for Rails 2.3.x and Rails 3. Translate your routes with ease !

Hope to read your feedbacks, advices, and comments soon ! And for
sure, feel free to get involve !

Thanks

(It’s have been tested on Rails 2.3.5, Rails3 beta and Rails3 edge)

The README of your plugin could use some examples :wink:

Greetings,
Juergen

Yes, you got a point here :slight_smile:

But I moved all examples in the Github Wiki, I will add simple
examples in the README too !

On 7 avr, 15:14, “Jürgen Feßlmeier” [email protected]

Hi again everyone.

Just to tell to interested people that I have finally fixed the nested
resources issue on Rails2.
And I have released a gem : i18n_routing

By the way I have also released a new plugin for auto-scoping
translations : GitHub - kwi/i18n_auto_scoping: I18nAutoScoping lets you easily add auto-scope in your I18n translations for your Rails' views
(i18n_auto_scoping gem)
It’s really useful for your views, with it, you keep your translations
simple and well organized.

Documentation is on the wiki.

Cheers.

Hi Kwi,

I didn’t have to time to look inside your lib, only read github wiki,
but isn’t that similar to i18n lazy-lookup
Rails Internationalization (I18n) API — Ruby on Rails Guides ?

Regards,
KK

2010/4/12 Kwi [email protected]:

Hi
How to use ParseDate in a localized way so the user can input a date
in any local format (e.g. in se 3/12/75 or TIsdag, 2:a juni 1965t)
that still can be parsed by ParseDate

Looks great!!

2010/4/7 Kwi [email protected]

Greetings,

I currently use it in production on several Rails 2 projects.

You received this message because you are subscribed to the Google

–
Experiencia es lo que obtienes, cuando no obtienes lo que quieres.

Hi Krzysztof,

My mistake, you are right, after testing, the lazy-lookup do pretty
the same as my plugin.
I need to pay more attention at documentation before spending time
coding ! Good to know anyway :confused:

Thanks

On Apr 12, 11:15 pm, Krzysztof K. [email protected]