Hi, Please refer to the following plunk:
http://plnkr.co/edit/5jD9AclWS4rVvBBJTvl8?p=preview In my opinion, embedding html tags in message is not a clean approach as it couples text with markup. In future if I have to change the markup, I will have to change the message which might not be intuitive to a new developer. Hope this helps. Regards, Vaibhav Gupta On Wednesday, 18 November 2015 20:21:42 UTC+5:30, Cenk KIZILDAĞ wrote: > > Hi, > > Thanks for your reply. How can I translate html content? Lets say I have a > html tag as follows: > > <h1 class="rotate">We Provide <br><span>Connected Intelligence</span> <br>For > A <span>Smart World.</span></h1> > > > 18 Kasım 2015 Çarşamba 09:01:33 UTC+2 tarihinde Vaibhav Gupta yazdı: >> >> Hi, >> >> You may refer the following: >> >> https://angular-translate.github.io/ >> >> It has an example as well which is similar to your use case. Hope this >> helps. >> >> Regards, >> >> Vaibhav Gupta >> >> On Tuesday, 17 November 2015 20:57:53 UTC+5:30, Cenk KIZILDAĞ wrote: >>> >>> Hello, >>> >>> I have a web site and I would like to use 2 different languages for this >>> web site. There will be 2 images on the page, when user clicks one of them >>> site will display in this language. >>> >>> here is my sample html: >>> >>> <div class="lang"> >>> <a href="#turkish" class="tr"><img src="images/turkey-icon.png" >>> alt="Türkçe"></a> >>> <a href="#english" class="eng"><img src="images/uk-icon.png" >>> alt="English"></a> >>> </div> >>> >>> >>> >>> Is there a way to implement this via Angular JS? >>> >>> Best Regards. >>> >>> >>> >>> -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
