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
Using intro.js in multilingual angular 2 page #693
Comments
Hello, a possible solution is: start the intro after binding the translated texts. i'm currently writing ng2-introjs, you may fork and make what you need. p.s.: i'm still learning angular 2 on free time, so it's not my main task yet |
thank you for your answer |
Hi, Would you please let me know how you imported intro js module into angular 2 CLI app? Thanks |
Hi, |
Try this one
Thanks |
The solution proposed by khurshed52 is the correct one |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi there !
I am developing a multilingual web page using angular 2 .
I wanted to add some guide for my users using intro.js ( consider that I am using DefinitelyTyped library ) . it is okay when I write my guides in single language for example by this line :
<div data-step="1" data-intro="some text" >
but when I try to have multilingual guides using ng2-translate , I get nothing. here is my code :
<div data-step="1" data-intro=" 'dashboard.welcome' | translate " >
in data-intro property, I have tested combination of {{ }} , " " or ' ' to see if the syntax is wrong but none of them solved my problem. I wonder if some one can help me .
The text was updated successfully, but these errors were encountered: