**Note:** To find out where `rest_framework` is installed, run
...
...
@@ -27,17 +55,17 @@ This guide assumes you are already familiar with how to translate a Django app.
---
4. Edit `/home/www/project/conf/locale/pt_BR/LC_MESSAGES/django.po` and
translate all the error messages.
3. Run Django's `makemessages` command in the normal way, but add the `--symlink` option. For example, if you want to translate into Brazilian Portuguese you would run
```
manage.py makemessages --symlink -l pt_BR
```
4. Translate the `django.po` file which is created as normal. This will be in the folder `myapp/locale/pt_BR/LC_MESSAGES`.
5. Run `manage.py compilemessages -l pt_BR` to make the translations
available for Django to use. You should see a message
5. Run `manage.py compilemessages` as normal
```
processing file django.po in /home/www/project/conf/locale/pt_BR/LC_MESSAGES
```
6. Restart your server
6. Restart your server.
...
...
@@ -59,3 +87,5 @@ REST framework will use the same preferences to select which language to display