Hi,

On Thu, 30 Nov 2006 18:13:54 +0100
Michael <[EMAIL PROTECTED]> wrote:

> A quick update: using seperate view files DOES work. (mail_nl.rhtml, 
> mail_de.rhtml and so on)
> 
> It would still be nice if it worked with .po/.mo files though, because 
> that would make it easier to translate the app to more languages.

Yes. It should be so.

How about this ?

1. Remove GetText.locale= and bindtextdomain anywhere on your script.
2. Add the lines into app/controller/applications.rb

class ApplicationController < ActionController::Base
  init_gettext "myapp"
  after_init_gettext {                         #HERE
     GetText.set_locale_all("nl")        #HERE
  }                                                     #HERE
end
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to