Skip to content

.yml localizations seem to bleed into other locales in copycopter #33

Description

@kwerle

We have a bunch of required fields and use the rails-i18n gem to get localizations of "has to be filled out", "must be larger/smaller than...", etc. And that works great.

But copycopter seems to be bleeding the from one locale to another. I'm digging into the problem, and it seems to come from the client and it seems to matter which language you get the error message in first.

I think it goes something like:

  • Submit a form for a model with an error in German
  • View that same model in an index or show page in English
en:
  activerecord:
    errors:
      models:
        book:
          attributes:
            title:
              blank: muss ausgefüllt werden

All the translations for that model show up, but it is getting the German error message

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions