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

Internationalization #2

Open
ivanrey opened this issue Sep 21, 2013 · 2 comments
Open

Internationalization #2

ivanrey opened this issue Sep 21, 2013 · 2 comments

Comments

@ivanrey
Copy link

ivanrey commented Sep 21, 2013

I really liked this library. However I was wondering, since the messages are so coded inside the class, what about a way of doing i18n for the messages? Maybe symfony translator?

@ircmaxell
Copy link
Owner

Well, the library is designed to generate JS to run on the client side as well. So you'd need some way to handle that. If Symfony translator can do it, then that's fine.

@aik099
Copy link
Contributor

aik099 commented Mar 11, 2016

The Behat uses the Symfony Translator as well: http://symfony.com/doc/current/components/translation/introduction.html

It's done like this in there:

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

3 participants