Working with Hyperlinks in Translation Matrix
If a company has different language website versions, to link the correct website URL to fit with the language in the generated document, it can be done with the Translation control inside Dynamo Template Builder.
Create keys in translation matrix
To create translation for an anchored text (text with hyperlink), 2 keys would need to be created:
One for the link
One for the clickable text
![image-20240109-092229.png](../__attachments/177274911/image-20240109-092229.png?inst-v=5205e5d1-dc16-46d7-af02-1258d99cc136)
Create the "link" element inside the document
Click on the location where you would want to insert the anchored text
Click on the Link icon on the editor bar
![image-20240109-092235.png](../__attachments/177274911/image-20240109-092235.png?inst-v=5205e5d1-dc16-46d7-af02-1258d99cc136)
A Link properties pop-up will appear. ’Display Text’ and ’URL’ fields should be filled. Be noted that these are the values that will be used when translation is not enabled.
![image-20240109-092241.png](../__attachments/177274911/image-20240109-092241.png?inst-v=5205e5d1-dc16-46d7-af02-1258d99cc136)
A Link element is created in the document. In order to add translation to this anchored text:
Choose the Link element on the breadcrumb
On the right pane, under ’Tag’ (or ’Element’) tab, fill in the translation labels for the ’Link’ and ’Content’ attributes. Translation key for the URL should be referenced in the 'Link' field and key for the text in the ’Content’ field
![image-20240109-092253.png](../__attachments/177274911/image-20240109-092253.png?inst-v=5205e5d1-dc16-46d7-af02-1258d99cc136)