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

how to call "i18n(label)" with params? #28

Open
thearabbit opened this issue Apr 2, 2015 · 4 comments
Open

how to call "i18n(label)" with params? #28

thearabbit opened this issue Apr 2, 2015 · 4 comments

Comments

@thearabbit
Copy link

how to call "i18n(label)" with params?
and could i change param from {$1} to {$otherWords}?

@nerijunior
Copy link

{{i18n "your.string" param1 param2 }}

On your.string use {$1}, {$2}, ...

@thearabbit
Copy link
Author

Call in JS?

@jm4r7in
Copy link

jm4r7in commented Jul 2, 2015

+1
Something like i18n(label, [params]) would be great !
Could you add it asap, please ?
Thanks a lot!

@frco9
Copy link

frco9 commented Aug 23, 2016

It is not documented, but it's already supported ;)

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

4 participants