href={"index.php/en/"|ezroot}>
or better
href={concat("index.php/en/",$uri_string)|ezroot}>
This works perfect!
However, my developement machine the url needs "index.php" but the production site needs "index.php?". I need a more universal solution including for servers not needing the "index.php".
There is another sugestion without hardcode "index.php" or "index.php?" ?
Looking in the documentation, dont have found nothing about $uri_string. Where I can find more nfo about this var and other uri/url related vars ?
Take a look at http://ez.no/community/forum/setup_design/available_languages_for_objects_in_3_8#msg99898 and http://ez.no/community/forum/setup_design/how_to_select_language/
I would go for the INI solution. It's the most flexible if you ever have to change your setup.