2008/9/20 Sven Fuchs <[EMAIL PROTECTED]>: > Apparently I've failed to read it thoroughly. I thought it's about > translating path segments. Sorry about that.
In fact translating path segments is part of the job, but it is done after routes generation so it doesn't need to mess with that exotic areas of code :D And of course you have nothing to apologize for: I arrived quite late to the i18n party so it's my fault :D > From what I grasp from the README one would use named route > url_helpers like home_es_path to generate urls? Yes. At translation time some helpers like home_es_path are generated. At execution time the home_path look for the currently selected language - let's say 'es' - and calls home_es_path. This way you developers can stop worrying about localized routing helpers - but they are available though. > Does this also work with the url_for helper? Yes it does, using a :lang parameter - maybe 'lang' is not the right name but it's configurable. > I've added this to the wiki (see http://rails-i18n.org/wiki) Thanks a lot! I would have done it myself but I'm just learning about how you're organized. > Thanks! My pleasure! You guys are doing a tremendous work and I'd like to contribute somehow :) -- Raul Murciano - Freelance Web Developer http://raul.murciano.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
