Matej-ch / yii2-page-guide

With this component you can add page guide or assistant to different pages of your application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can this extension also be used with i18n?

gb5256 opened this issue · comments

I have a site that it multi language.
How would I do this with the strings shown to the user with this extension?
Is there a way?

Thanks for any ideas.

gb5256

I am not sure if i understand, but this extension has translations in directory messages . As you can see we currently have translations for english, italian, slovak an czech.

If you require more translations for different languages, you can submit pr with new translation files and i gladly approve them.

HI, thanks for the reply.
I mean the translations of the guide text shown to the user.
Do you retrieve them from your DB table and use them with a Y::t(xxx) or without?

I see. The text inside individual steps is not translated. Whatever you write down is then shown to the user. This type of use case was not cosidered, when creating this module.

When thinking about it, it may not be so problematic to implement something like that, in some extent.
But i cannot currently promise anything. I you are interested or have time shoot me a PR.