-
Notifications
You must be signed in to change notification settings - Fork 142
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
Browser translate causes interpolates values to NOT update #277
Comments
...a side note, we've had this problem throughout our entire app, and have gone through changing all <div>{{value}}</div> to: <div [innerText]="value"></div> It seems to resolve the problem, with no perceived side effects, presumably because it replaces the contents on the HTML element and removing the |
Did you find any mention for this on Angular's site? Seems like something that should happen a lot. |
I know what you mean, but we weren't able to find any information about it, when we search "translate" we just kept getting results about angular's i18n and the translate service, not the browsers translation feature |
thanks for the PR, fixed in 8f6d69e |
@chrxs, the gif you posted, is it this your implementation of this component? |
Yeah, that's right |
what version are you using? the nav buttons of 2.6.0 are not placed like in the image |
oh i see what you mean, not the latest version, we're using version 2.4.0 |
so be ready to implement some changes if you want to use 2.6.1 |
ok will do 😄 thanks |
We have an issue where the date picker is translated to German
The users browser gives them the option to translate the page (say to English for example)
The user does this and translates the page to English
The interpolated text values (
{{monthName}}
for example) no long update when changing monthsThis is the original HTML for the month names:
...and this is the HTML after the browser translates:
You can see some
<font>
tags have been added, after this changes don't seem to update these tags.Angular version: 4.4.4
I have only seen this on Google Chrome browser.
The text was updated successfully, but these errors were encountered: