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

Macro translator and included block #75

Open
martinsifra opened this issue Apr 15, 2015 · 1 comment
Open

Macro translator and included block #75

martinsifra opened this issue Apr 15, 2015 · 1 comment
Labels
Milestone

Comments

@martinsifra
Copy link

So if I use this

<h1 n:block="title">{_sign.template.signIn.h1}</h1>

and somewhere I want to include block „title“, I get translated sentence corectly.

But if I use macto translate like this:

{translator sign.template}
<h1 n:block="title">{_signIn.h1}</h1>

In incuded block appears just text „h1“ and in a place of block definition appears translated message.

@martinsifra martinsifra changed the title Macro translator with blocks Macro translator with included block Apr 15, 2015
@martinsifra martinsifra changed the title Macro translator with included block Macro translator and included block Apr 15, 2015
@martinsifra
Copy link
Author

I know what's is the problem. When I include the block somewhere out, where isn't used translate macro with correct path, the translator doesn't know where to look for the message and correctly looks only for „h1“ without any path.

@fprochazka fprochazka added the bug label May 15, 2017
@fprochazka fprochazka modified the milestones: v2.3, v2.4 May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants