Learn how to provide search engines with URLs that will rank better for each language.
- [Instructor] Let's move onto the sixth video…of this section: URL Patterns for Internationalization.…Previously we saw how to use Rosetta Translation's Interface…and the fuzzy translation.…In this video we'll first add a language prefix…to URL patterns, and then translate URL patterns.…Django offers internationalization capabilities for URLs,…and includes two main features for internationalized URLs.…First one is language prefix in URL patterns,…which is used for adding a language prefix to URLs…to serve each language version under a different base URL.…
And the second one is translated URL patterns…for marking URL patterns for translation,…so that the same URL is different for each language.…A reason for translating URLs…is to optimize your site for search engines.…By adding a language prefix to your patterns,…you'll be able to index a URL for each language,…instead of a single URL for all of them.…Furthermore, by translating URLs into each language,…you will provide search engines with URLs…all ranked better for each language.…
Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Creating an online shop project
- Registering customer orders
- Managing payments and orders
- Integrating a payment gateway
- Extending the online shop
- Creating a coupon system
- Translating Python code