I agree with Ignacio.
Please tell us how did you configure i18n in your application
controller and your site.
If you set a YML language file, then you may use as many languages as
you want, each language in a different file setting it with the
I18n.locale variable.
In my web-app, each user can choose which language they want to use
(current_user.language).
---- application_controller.rb
...
before_filter :set_locale
def set_locale
# update session if logged
if current_user.to_s != "guest"
session[:locale] = current_user.language.to_s
end
# read url locale param or default_locale for guest users
if current_user.to_s == "guest"
session[:locale] = params[:locale] #I18n.default_locale
end
# set locale based on session or default
I18n.locale = session[:locale] || I18n.default_locale
end
-----
best regards,
eddie.
On May 16, 4:35 pm, Ignacio Huerta <
igna...@ihuerta.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Edson,
>
> We are working with 1.3 we have several spanish only and some
> spanish+english applications (for examplehttp://
www.islandiacar.com).
> I suppose the problem lies with the translation file format.
>
> Can you provide us with more detailed information about the error?
> Some code or screenshots would be great. I would like to reproduce it
> locally if I can.
>
> On the other side, have you tried setting "
> config.hobo.show_translation_keys = true" on application.rb and
> restarting your application? It helps a lot to debug i18n problems.
>
> Regards,
> Ignacio
>
> El 15/05/12 23:45, Edson escribi�:
> Tel�fono: 0034 645 70 77 35
> Email realizado con software libre
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/