Phoenix Localized Routes is dead. Long live Routex!
Phoenix Localized Routes did pave the way for some routing libs but that was possibly it’s only award. As it was the first of it’s kind the design very much left much to be desired. It’s successor, Routex, is in every aspect a better lib.
Yes, I saw the usage guide after posting here. @BartOtten if you create this tutorial on the blog I would like to have some notification for this.
Thank you for your reply!
Hello, @kip I would like to know if you have a tutorial or video doing the internationalization of the app?
using the dependencies you have created!
I know one it is the cldr.
I would not dare to publish a localization lib without @kip’s blessing Therefor I asked him personally to have a look at the lib when it was pre-0.1.0. Dare to say we both share a vision.
As a result CLDR Routes and Phoenix Localized Routes have influenced each other for the better. Both coming from another direction and with other features, but both targeting improvement in localization of Phoenix apps.
Soon will pick up the conversation and check which area would add the greatest improvement to accomplish that shared vision.
I’ll be publishing my first livebook on this topic in the next week or so based upon my ElixirConf EU talk, and I have a few more in planning to follow that. I’ll post an announcement in the ex_cldr thread soon.
Hopefully I soon have some time to see how the new verified routes of Phoenix 1.7 can be localized, while keeping the same features (unobtrusive) as the helper variant.
Hi, I am having trouble to implement your library in Phoenix 1.7. The example_web.ex file content is very different from 1.6.
Please, could you add or remove in example_web.ex file if we want to use your library in Phoenix 1.7?
Also, I am using LiveView and I am not sure if it will automatically work for LiveView as well. Is this library compatible with LiveView or just the regular controllers?
Progress on Phoenix 1.7 Verified Routes
I have two proof of concepts for a method to accomplish the same behavior as with ‘the old way’. Gonna trow it away and write the actual implementation.
Soon this lib will support localized (verified) routes using the new sigil method.