You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Numa Schmeder <nu...@dfacto.ch> on 2021/05/27 08:20:40 UTC

Localization strange issue in language virtual folder

Hi, 

I am working on a localized app, and the setup is made according to the docs

configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,fr,de,it");
configuration.add(SymbolConstants.ENCODE_LOCALE_INTO_PATH, true);

If I hit in the browser the index page of the app, 

https://myapp.test/

Then all the links are missing the virtual language folder in the urls. 

But if I hit 

https://myapp.test/fr/

Then all the links have the virtual language folder in the url. 

Do you know how to make sure the default index page adds the virtual language folder to the urls when hitting 
https://myapp.test/

Thank you

Numa
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org