Hi:
I'm sure I'm doing something wrong since I have found posts here where
this is working.

- I have en.yml and de.yml.
- I18n.locale either set to "en" or "de" (based on accept header or
user profile)
en:
  activerecord:
    attributes:
      language:
        code: Language Code
        title: Description
de:
  activerecord:
    attributes:
      language:
        code: Sprachcode
        title: Bezeichnung

Using the i18n_label plugin, I get the correct label when local=en,
but when locale=de I get the humanized attribute/method name (i.e.
"Code" and "Title") when using <%= f.label :code %>

Using <% remote_form_for [:admin, @language] do |f| %>
instead of the form_for used in the example.

Any ideas? I don't see where I went wrong.
Thanks, Thomas

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to