Fixed ReST bugs in i18n.txt from [1087]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6dbc781a2a
commit
0588183976
@ -38,7 +38,7 @@ How to internationalize your app: in three steps
|
|||||||
1. Embed translation strings in your Python code and templates.
|
1. Embed translation strings in your Python code and templates.
|
||||||
2. Get translations for those strings, in whichever languages you want to
|
2. Get translations for those strings, in whichever languages you want to
|
||||||
support.
|
support.
|
||||||
2. Activate the locale middleware in your Django settings.
|
3. Activate the locale middleware in your Django settings.
|
||||||
|
|
||||||
How to specify translation strings
|
How to specify translation strings
|
||||||
==================================
|
==================================
|
||||||
@ -293,7 +293,7 @@ mappings between translation strings and the actual translated text for the
|
|||||||
particular language.
|
particular language.
|
||||||
|
|
||||||
For example, if your Django app contained a translation string for the text
|
For example, if your Django app contained a translation string for the text
|
||||||
``"Welcome to my site.", like so::
|
``"Welcome to my site."``, like so::
|
||||||
|
|
||||||
_("Welcome to my site.")
|
_("Welcome to my site.")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user