My website (drupal 8) was first in one language. Now I switched to multi langual.
Most of the settings i did find (translate content, webforms, strings,...).
But at the moment stuck on the hard coded links I use in the template (theming).
So I'm looking for the best way to let my hard coded links work for more languages.
At this moment this is what i got (and ofcourse this is not working well):
<h4><a href="/node/100">{{ 'DIENSTEN ON SITE'|t }}</a></h4>
This link doesn't bring the visitor to the correct link (en/ or fr/ is missing). Translate on the string works already :).
My current settings for detections are visible in the image:
Thanks for reading!
Kristof