Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Localization scopes #926

Closed
wontruefree opened this Issue Mar 7, 2013 · 2 comments

Comments

Projects
None yet
2 participants

I am wondering if I can add a localization scope for a project that would set the input_html.
I see something that might sugest this is your specs.

something in config/locales/en.yaml

en:
  formtastic:
    posts:
      new:
        title:
          input_html:
            data: 
              stuff: stuff in here

can I add stuff to data with a custom scope?

Owner

justinfrench commented Mar 8, 2013

You can't but I'd love to lean on localisation a bit more for this, rather than the ERB DSL and mega option hashes, so definitely have a go at a pull request! Closing for now.

Thanks for the response.
That is a bummer it would be nice to set any options from the localizers

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