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

Cant translate some string #23

Closed
AlmogBaku opened this issue Nov 23, 2013 · 3 comments
Closed

Cant translate some string #23

AlmogBaku opened this issue Nov 23, 2013 · 3 comments

Comments

@AlmogBaku
Copy link
Contributor

This is really weird.. The grunt is exporting and converting this sentence fine.. but the angular just ignore the translation..

<p class="disclaimer" translate>By clicking login, you accept our <a hm-tap="openTOS()">privacy policy & terms of use</a>.</p>
@rubenv
Copy link
Owner

rubenv commented Nov 24, 2013

Does that hm-tap directive modify the DOM?

On Sunday, 24 November 2013, Almog Baku wrote:

This is really weird.. The grunt is exporting and converting this sentence
fine.. but the angular just ignore the translation..

By clicking login, you accept our privacy policy & terms of use.


Reply to this email directly or view it on GitHubhttps://github.com//issues/23
.

@AlmogBaku
Copy link
Contributor Author

No.. (It seems like it not changing the dom.. at least from the firebug).

But it look like the javascript-engine convert the & to &amp;. After changing my string to use &amp; instead of &amp; (and in my translations) the problem solved.
I think the grunt-exporter should do it automatically.. what do you think?

@rubenv
Copy link
Owner

rubenv commented Aug 20, 2014

Should be fixed by rubenv/angular-gettext-tools#31

@rubenv rubenv closed this as completed Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants