question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Follow i18n standard URL scheme

See original GitHub issue

Issue 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/

screen shot 2016-10-19 at 6 08 46 pm

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:closed
  • Created 7 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
drcongocommented, Feb 24, 2017

@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.

1reaction
mevinbabuccommented, Oct 20, 2016

This stuff should be part of the documentation that you have raised the PR for 😄 . Excelent library!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found