diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index f7ec638..9b7aa7c 100644
|
a
|
b
|
For a complete discussion on the usage of the following see the
|
| 591 | 591 | * ``False`` = left-to-right layout |
| 592 | 592 | * ``True`` = right-to-left layout |
| 593 | 593 | |
| 594 | | .. function:: get_language_from_request(request) |
| | 594 | .. function:: get_language_from_request(request, check_path=False) |
| | 595 | |
| | 596 | .. versionchanged:: 1.4 |
| 595 | 597 | |
| 596 | 598 | Analyzes the request to find what language the user wants the system to show. |
| 597 | 599 | Only languages listed in settings.LANGUAGES are taken into account. If the user |
| 598 | 600 | requests a sublanguage where we have a main language, we send out the main |
| 599 | 601 | language. |
| 600 | 602 | |
| | 603 | If ``check_path`` is ``True``, the analysis first considers the requested URL, |
| | 604 | checking if its path begins with a language code listed in the ``LANGUAGES`` |
| | 605 | setting. |
| | 606 | |
| 601 | 607 | .. function:: to_locale(language) |
| 602 | 608 | |
| 603 | 609 | Turns a language name (en-us) into a locale name (en_US). |