angular-shepherd icon indicating copy to clipboard operation
angular-shepherd copied to clipboard

Multilingual application - dynamic text

Open amic81 opened this issue 2 years ago • 1 comments

Hi, I wanted to ask if it is possible and if so how to manage the fact of having a multilingual tour.

For example, how can you manage to make the text in dynamic :

buttons: [ { text: ???, action: tour.next } ]

and also title and text in every single step?

Thank you

amic81 avatar Jul 18 '22 15:07 amic81

@amic81 you'll have to use some sort of i18n package then use that to set your text accordingly.

RobbieTheWagner avatar Jul 18 '22 16:07 RobbieTheWagner