Closed fabiomartino closed 3 years ago
I am not sure about that notranslate thing. For sure I would better understand a page in Italian if it was translated into English, even by Google automatic translator.
Your problem seems to be that Chrome translates pages from English to Italian, and you do not want that because your English is better than Chrome's translation to Italian. To me, that is an issue on your side: you should set Chrome to never translate pages written in English (as I did).
I am not sure about that notranslate thing. For sure I would better understand a page in Italian if it was translated into English, even by Google automatic translator. try to be more specific Your problem seems to be that Chrome translates pages from English to Italian, and you do not want that because your English is better than Chrome's translation to Italian. To me, that is an issue on your side: you should set Chrome to never translate pages written in English (as I did).
Hi... I try to be more specific... On my side as developer of course the better option is provide a full translated app in all the possible target languages (In my case usually English and Spanish)... but the final user? (Is not a big deal to ask everyone to disable it on his side)
Some client asked me if would be possible to disable this "annoying" request made by Chrome to translate the content... and this is I think is the easy solution referenced here
Cordially
I agree with @bursauxa here, I don't think this is something we want to push for everyone, though I understand your logic here.
Keep in mind that even if it can be "annoying" for some users (it can be disabled easily on the user browser though) this is an important accessibility feature for a lot of users out there, and as such I don't think it makes it should be done by default.
If you want this to be enabled on all yours apps, you can always make it an add-on so you don't get bother adding this tag everytime.
Hi. Let me explain the reason for this PR.
When I create a new application, in the classic way (Angular CLI) or with ngx-rocket, one of the first configurations that I make is to disable the translation offered by Google Chrome. Nowadays "automatic" translations are quite precise but they are not perfect, and this is the reason why automatic translation should be disabled.
I added a simple prompt option that ask to include this tag in the index.html (default to NO)
If the condition apply then the tag will be added
Cordially Fabio