Welcome Guest, Not a member yet? Register   Sign In
Help deal with routes ?!
#5

The first set, without localization, is to remediate requests coming in to soething other than the homepage, but without the link. This could be bookmarked links for instance. This solves a problem we saw when converting to the localized app. It might not be the most elegant solution, but I can live with it.

The second set of routes, with localization, are the "normal" ones.

The language dropdown is driven by the supportedLocales property in app/Config/App.php. If the user chooses a language with missing or no translations, the app falls back to English.
Reply


Messages In This Thread
Help deal with routes ?! - by Digital_Wolf - 09-20-2019, 06:57 AM
RE: Help deal with routes ?! - by ciadmin - 09-20-2019, 07:12 AM
RE: Help deal with routes ?! - by Digital_Wolf - 09-20-2019, 07:16 AM
RE: Help deal with routes ?! - by Digital_Wolf - 09-21-2019, 02:02 AM
RE: Help deal with routes ?! - by ciadmin - 09-21-2019, 05:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB