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
__ or i18n not available in handlebar #7290
Comments
@iamaamir Thanks for posting! We'll take a look as soon as possible. In the mean time, there are a few ways you can help speed things along:
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly. For help with questions about Sails, click here. |
also whem i am trying to access |
Node version: v18.0.0
Sails version (sails): 1.4.0
ORM hook version (sails-hook-orm):
Sockets hook version (sails-hook-sockets):
Organics hook version (sails-hook-organics):
Grunt hook version (sails-hook-grunt):
Uploads hook version (sails-hook-uploads):
DB adapter & version (e.g. sails-mysql@5.55.5):
Skipper adapter & version (e.g. skipper-s3@5.55.5):
i am trying to add i18n in a sails app
in the sails js docs the given examples are using
i18n() or __()
inside a ejs filebut in the current project we are using handlebars and when trying to use
__()
its throwing errormy
/config/i18n.js
looks like this:my
config/locales/en.json
file looks like this:and this how i am using it in my
signup.hbs
The text was updated successfully, but these errors were encountered: