Bernardo Pires
12ff1623d6
[1.5.x] Fixed #21372 -- Corrected docs regarding translating LANGUAGES.
...
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.
Thanks to Salvatore for the report.
Backport of 8bc350b385
from master.
Conflicts:
docs/topics/i18n/translation.txt
2013-11-10 00:09:02 +01:00
Tim Graham
2e881f15b8
[1.5.x] Fixed spelling ("dependant" -> "dependent")
...
Dependent means reliant on.
A dependant is a person like a child or spouse.
Thanks Andrew Wilcox for the report.
Backport of 090315f5df
from master
2013-11-01 21:32:10 -04:00
Loic Bistuer
c9a021b042
[1.5.x] Made the doc about translating string literals in templates more prominent.
...
Backport of 9885f07757
from master
2013-08-31 09:52:49 -04:00
Ramiro Morales
5547ba743c
[1.5.x] Typos introduced in 57c82f909b
.
2013-08-22 22:35:10 -03:00
Ramiro Morales
9a7d59e8c7
[1.5.x] Made description of LANGUAGE_CODE setting more clear.
...
297f5af222
from master.
2013-08-22 08:34:19 -03:00
SusanTan
5192dbbf55
[1.5.x] Fixed #18261 -- Clarified 'project root directory'
...
Backport of ef3fddf26e
from master
2013-07-09 07:16:45 -04:00
Tim Graham
9c501e6638
[1.5.x] Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
...
Thanks rene@ for the suggestion.
Backport of 231e31c690
from master.
2013-07-04 05:45:34 -04:00
Tim Graham
df5a8a07fc
[1.5.x] Fixed #20335 - Documented the {% language %} template tag.
...
Thanks bmispelon for the suggestion and djangsters for the patch.
Backport of 96cabba808
from master
2013-05-18 11:22:42 -04:00
Tim Graham
cac0f7b72e
[1.5.x] Fixed #20398 - Added language selection code to example in documentation
...
Thanks ggbaker for the suggestion and Simeon Visser for the patch.
Backport of 897e4eab65
from master
2013-05-13 13:47:40 -04:00
Tim Graham
4376a64524
[1.5.x] Fixed #20285 - Added missing commas in translation docs.
...
Thanks cody.j.b.scott@
Backport of 9f7b277d2e
from master
2013-04-18 13:45:27 -04:00
Tim Graham
67f3a6e9cf
[1.5.x] Fixed #19922 - Typo in translation docs.
...
Thanks amoebob for the report.
Backport of 9ce1b6191b
from master
2013-02-26 15:14:17 -05:00
Aymeric Augustin
1742fd08f5
[1.5.x] Fixed #6195 -- Documented caching options for javascript_catalog.
...
Backport of 0836670
from master
2013-02-25 22:30:56 +01:00
Ramiro Morales
e7ab0d35c1
[1.5.x] Typo in i18n docs.
...
112c6e987d
from master.
2013-02-14 20:46:27 -03:00
Ramiro Morales
73bb9664da
Enhanced traanslator comments documentation.
...
Partial (docs only) backport of 47ddd6a
from master.
2013-01-31 10:58:05 -03:00
Tim Graham
9e5ada79bf
[1.5.x] Fixed broken links, round 4. refs #19516
...
Backport of 067505ad19
from master
2012-12-29 15:57:57 -05:00
Tim Graham
fbc06eef1a
[1.5.X] Fixed broken links, round 3. refs #19516
...
Backport of b3a8c9dab8
from master
2012-12-26 19:10:50 -05:00
Claude Paroz
0775ab2955
Fixed #19132 -- Added example for creating custom lazy function
...
Thanks flagzeta@yahoo.it for the report and Luke Plant for his
expert assistance.
2012-10-18 09:02:20 +02:00
Tim Graham
837425b425
Fixed #18934 - Removed versionadded/changed annotations for Django 1.3
2012-09-20 19:06:55 -04:00
Tim Graham
b7d3b057f3
Fixed #18365 - Added a reminder of the context processor required for the set_language view.
...
Thanks Nick Martini for the patch.
2012-09-08 06:56:07 -04:00
Tim Graham
514a0013cd
Fixed #17180 - Emphasized the need to load the i18n template tag in each template that uses translations. Thanks stefan.freyr for the suggestion and buddylindsey for the draft patch.
2012-08-19 18:46:46 -04:00
Tim Graham
b1f18e95a5
Fixed #17183 - Added a note regarding LocaleMiddleware at the top of the i18n docs. Thanks krzysiumed for the patch.
2012-08-16 18:16:19 -04:00
Florian Apolloner
d2975718fe
Consistenly use _ as alias for ugettext_lazy in the i18n docs.
2012-08-13 16:54:13 +02:00
Simon Meers
10f979fd92
Fixed #18700 -- Added URL reversal for i18n set_language view.
2012-08-04 20:57:12 +10:00
Simon Meers
d7816c563b
Fixed #18472 - Added warning regarding set_language / i18n_patterns.
2012-08-02 20:45:55 +10:00
Aymeric Augustin
fb46f243b4
Fixed #18625 -- Removed old-style use of url tag
...
from the documentation.
2012-07-15 11:19:50 +02:00
Bojan Mihelac
946d3d9f84
Fixed url translation docs.
...
``include`` calls shouldn't have a $ sign at the end of the url pattern.
2012-06-23 16:14:56 +02:00
Claude Paroz
4a103086d5
Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.
...
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
2012-06-07 18:08:47 +02:00
Aymeric Augustin
c28e700c7e
Removed references to changes made in 1.2.
...
Thanks Florian Apolloner for the patch.
2012-06-07 15:02:35 +02:00
Claude Paroz
596cb9c7e2
Replaced print statement by print function (forward compatibility syntax).
2012-04-30 20:45:03 +02:00
Ramiro Morales
b41ebcf1b9
Fixed #18040 -- Removed so-called project-level locale trees from the list of paths the translation loading process takes in account.
...
Deprecated in Django 1.3. Removed completely for Django 1.5.
Thanks Claude for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 22:24:24 +00:00
Aymeric Augustin
cfd0cb0064
Fixed #17319 -- Made the example for set_language less error-prone. Thanks Anna Dolma Alonso for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-19 09:19:38 +00:00
Adrian Holovaty
7981efe04f
Documentation (and some small source code) edits from [17432] - [17537]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-17 20:04:11 +00:00
Ramiro Morales
fc14996c8d
Made a couple of tweaks to lazy translation docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-10 01:45:03 +00:00
Ramiro Morales
e7b5e22484
Expanded section about lazy translation in i18n docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-15 11:04:57 +00:00
Ramiro Morales
576e681302
Fixed #17063 -- Fixed visibility of a few version-dependant notes in our documentation.
...
Thanks jifeng.yin AT gmail DOT com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-30 12:59:59 +00:00
Aymeric Augustin
67e6e0fcf3
Fixed #17087 -- Re-organized the i18n docs to reduce confusion between USE_I18N/USE_L10N and the concepts of internationalization/localisation. Re
...
moved some duplicate content.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-22 17:17:57 +00:00