I am using kirby 3 with 2 languages, meaning .de and .en files with only one kirby installation.
Now I want to make a basic link from one page to another page. Link on a button or text,
but since I have to languages the /de or /en should be dynamic.
I have been looking through the reference and forum but did not quite find what I was looking for.
I.e. I have a button and this button links to a certain page:
<a href="<?=url('link: mypage'); ?>"> </a>
How can the link be dynamic to the EN page?
<a href="<?php echo page('mypage')->url(); ?>"></a>
But this does not work.
Thank you much for patience and help!