Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Hour 20. Internationalization and Localization > Setting Language Preference

Setting Language Preference

Languages can be set at either the site level or session level. The best way to understand how language preferences work is to understand how Django determines the language preference.

Django looks in the following four places to find the language preference:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial