Follow i18n standard URL scheme
See original GitHub issueIssue summary
Right now the different language versions are served by appending the language code to the end of the slug. Which makes three level deep pages look like this.
http://0.0.0.0:9001/hello-world-fr/contact-us-fr/how-reach-us-fr/
Ideally this should be like this
http://0.0.0.0:9001/fr/hello-world/contact-us/how-reach-us/
with the language scheme at the starting of the url.
How to reproduce?
Create pages with three level of nesting. A page contains a sub page, which contains the third sub page.
Technical details
Python 3.4.x Django 1.8.15 Wagtail 1.6.3 Wagtailtrans 0.1.0b3
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Defining a custom URL scheme for your app - Apple Developer
Custom URL schemes provide a way to reference resources inside your app. ... Examples of URLs for such a scheme could include the...
Read more >Advanced Features: Internationalized Routing - Next.js
To get started, add the i18n config to your next.config.js file. Locales are UTS Locale Identifiers, a standardized format for defining locales. Generally...
Read more >turquoiseowl/i18n: Smart internationalization for ASP ... - GitHub
Notice how the URL localization scheme has been switched to Scheme2 which allows the URL to be without any language tag. The default...
Read more >RFC 5092: IMAP URL Scheme
It also updates RFC 4467. Melnikov & Newman Standards Track [Page 1] ... The IMAP URL follows the common Internet scheme syntax as...
Read more >Internationalization - W3C
The Internationalization Activity works with W3C Working Groups, related standards bodies, and with designers, developers and content authors generally, to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jjanssen No problem, when I’ve finished this project I’ll see if I can get some time to make some documentation pull requests for you wherever I can add some clarity. Now that I’ve got everything working I’m super impressed with wagtailtrans. Thank you all for the great work.
This stuff should be part of the documentation that you have raised the PR for 😄 . Excelent library!