You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that you will need to use absolute paths starting from the `STATIC_ROOT` for the `staticUrl()` function. Different from the default `ManifestStaticFilesStorage`, our version will generally interprete file urls starting with a slash as being relative to the `STATIC_ROOT`.
101
+
102
+
Translations
103
+
------------
104
+
105
+
Commands such as `./manage.py makemessages` and `./manage.py compilemessages` will work as always in Django, with some slightly different defaults. Not specifying any language will default to running with `--all` (all languages). Not specifying any domain will default to running for both "django" and "djangojs" (Python and Javascript files). The `static-transpile` directory will also be ignored by default.
106
+
107
+
**NOTE: JavaScript files that contain template strings will require at least xgettext version 0.24 or higher. See below for installation instructions.**
108
+
109
+
110
+
Install xgettext 0.24
111
+
---------------------
112
+
113
+
First check which xgettext version your OS comes with:
114
+
115
+
```bash
116
+
xgettext --version
117
+
```
118
+
119
+
If it is below version 0.24, you will need to install a newer version. For example in your current virtual environment:
0 commit comments