@@ -19,7 +19,7 @@ needs to be in your project package directory.
19
19
20
20
### Extraction Method Mapping
21
21
22
- So ` django-babel ` comes with an extraction method plugin that can extract
22
+ So BabelDjango 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 BabelDjango
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:
@@ -148,12 +148,12 @@ locale from a thread-local cache.
148
148
149
149
## Using the Template Tags
150
150
151
- The template filters provided by ! BabelDjango allow formatting of date/time and
151
+ The template filters provided by BabelDjango allow formatting of date/time and
152
152
number values in a locale-sensitive manner, providing much more powerful
153
153
alternatives to the ` date ` , ` time ` , and ` floatformat ` filters that come with
154
154
Django.
155
155
156
- To make the template filters/tags available, you need to add ! BabelDjango to
156
+ To make the template filters/tags available, you need to add BabelDjango to
157
157
the list of ` INSTALLED_APPS ` in your settings module:
158
158
159
159
``` python
@@ -165,7 +165,7 @@ INSTALLED_APPS = (
165
165
```
166
166
167
167
And in every template you want to use the filters, you need to explicitly load
168
- the ! BabelDjango library:
168
+ the BabelDjango library:
169
169
170
170
``` jinja
171
171
{% load babel %}
0 commit comments