summaryrefslogtreecommitdiff
path: root/docs/topics/i18n/internationalization.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/i18n/internationalization.txt')
-rw-r--r--docs/topics/i18n/internationalization.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/topics/i18n/internationalization.txt b/docs/topics/i18n/internationalization.txt
index 7ae8d18791..879c7739fb 100644
--- a/docs/topics/i18n/internationalization.txt
+++ b/docs/topics/i18n/internationalization.txt
@@ -1,5 +1,3 @@
-.. _topics-i18n-internationalization:
-
====================
Internationalization
====================
@@ -242,7 +240,7 @@ If you don't like the verbose name ``ugettext_lazy``, you can just alias it as
class MyThing(models.Model):
name = models.CharField(help_text=_('This is the help text'))
-Always use lazy translations in :ref:`Django models <topics-db-models>`.
+Always use lazy translations in :doc:`Django models </topics/db/models>`.
Field names and table names should be marked for translation (otherwise, they
won't be translated in the admin interface). This means writing explicit
``verbose_name`` and ``verbose_name_plural`` options in the ``Meta`` class,
@@ -332,7 +330,7 @@ Specifying translation strings: In template code
.. highlightlang:: html+django
-Translations in :ref:`Django templates <topics-templates>` uses two template
+Translations in :doc:`Django templates </topics/templates>` uses two template
tags and a slightly different syntax than in Python code. To give your template
access to these tags, put ``{% load i18n %}`` toward the top of your template.
@@ -569,7 +567,7 @@ function supports both positional and named interpolation:
object or associative array. For example::
d = {
- count: 10
+ count: 10,
total: 50
};