Angular Translate - How to handle phrases with lin

2019-07-16 03:57发布

问题:

The two issues that I have are how to handle this are:

  1. I am not sure if it is a good idea to let the translator have control of the actual link / action
  2. The issue or rendering translated HTML. [its being rendered as text...]

Is there a best practice / examples on how to handle translations of phrases that need to have links within them? Would this change if I would like to run some action of the scope when some parts of the text are clicked?

e.g. "BY clicking OK you are accepting our Terms of service and Privacy Policy."

or

"BY clicking OK you are accepting our Terms of service and ."