Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I18n is not defined Source File #21

Closed
dorajistyle opened this issue Jan 11, 2012 · 4 comments
Closed

I18n is not defined Source File #21

dorajistyle opened this issue Jan 11, 2012 · 4 comments

Comments

@dorajistyle
Copy link

Hi netzpirat,

I tried to use I18n in hamlc file likes below.

%span= I18n.t('text.test')

And It gave me a message below.

Error: I18n is not defined Source File.

  • haml_coffee_assets (0.6.0)

P.S. Could I use render , form_for in haml_coffee_assets?

@netzpirat
Copy link
Collaborator

Internationalization is not part of Haml Coffee Assets, it's provided by the excellent i18n.js. I added a note to the README to avoid confusion.

@dorajistyle
Copy link
Author

Thank you netzpirat. If you use client side form builder, could you recommend one? I'm using Simple_form at server side.

@netzpirat
Copy link
Collaborator

I have not used a client side form builder, so I can't recommend one (I even do not know one :)

@dorajistyle
Copy link
Author

OK. Thank you very much! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants