@@ -19,7 +19,7 @@ needs to be in your project package directory.
19
19
20
20
### Extraction Method Mapping
21
21
22
- So BabelDjango comes with an extraction method plugin that can extract
22
+ So django-babel comes with an extraction method plugin that can extract
23
23
localizable messages from Django template files. Python is supported out of the
24
24
box by Babel. To use this extraction functionality, create a file called
25
25
` babel.cfg ` in your project directory (the directory above your project
@@ -41,7 +41,7 @@ Also, any files with the extension `.py` inside your package directory (replace
41
41
“mypkg” with the actual name of your Django project package) are processed by
42
42
the “python” extraction method.
43
43
44
- If you don't use setuptools, or for some reason haven't installed BabelDjango
44
+ If you don't use setuptools, or for some reason haven't installed django-babel
45
45
using setuptools/pip, you'll need to define what function the extraction method
46
46
“django” maps to. This is done in an extra section at the top of the
47
47
configuration file:
@@ -149,12 +149,12 @@ locale from a thread-local cache.
149
149
150
150
## Using the Template Tags
151
151
152
- The template filters provided by BabelDjango allow formatting of date/time and
152
+ The template filters provided by django-babel allow formatting of date/time and
153
153
number values in a locale-sensitive manner, providing much more powerful
154
154
alternatives to the ` date ` , ` time ` , and ` floatformat ` filters that come with
155
155
Django.
156
156
157
- To make the template filters/tags available, you need to add BabelDjango to
157
+ To make the template filters/tags available, you need to add django-babel to
158
158
the list of ` INSTALLED_APPS ` in your settings module:
159
159
160
160
``` python
@@ -166,7 +166,7 @@ INSTALLED_APPS = (
166
166
```
167
167
168
168
And in every template you want to use the filters, you need to explicitly load
169
- the BabelDjango library:
169
+ the django-babel library:
170
170
171
171
``` jinja
172
172
{% load babel %}
0 commit comments