We've moved discussions to Discord

Any one did I18N?

Dimitri Fajardo
How did you manage to get it running? which errors are to be expected?
Alain Pilon
I will have to do it too, sooner than later. Any work on your part that you can share?
Dimitri Fajardo
Alain Pilon Yes sure thing! It's my first time working with I18N. I coulnd't firgure out why I18N and devise + OAuth won't work.. So I just scoped twice in my route files ( I know it's against rails to duplicate lines of codes) now it works for statics pages and all the pages I created, like post and categories.

Somehow my app would not work if I relocated the static pages routes above the devises routes. I concluded that OAuth and I18N are not good friends...
For devise this should work https://stackoverflow.com/questions/11332942/ruby-on-rails-devise-i18n-how-to-set-locale . But due to the OAuth for facebook, Google and many others it doesn't work... I need to look further!
Alain Pilon
humm.. I never had to mix i18n and OAuth, but I can't see how they could interact negatively. I18n only needs to have a locale variable set in the session (if I remember correctly).  MY guess is that the session variables are reset/overwritten by the OAuth authentication. Still have like 20 user stories to finish before getting there :-S
Notifications
You’re not receiving notifications from this thread.