Django rest framework comes with plenty of translations for error messages, 
... However, when I want to combine these my own project's translations it 
stops working. I described the problem i ran into here 
<https://github.com/encode/django-rest-framework/issues/6552>.

I then grudgingly tried copying the already provided dutch translations 
from DRF 3.9.2 
<https://raw.githubusercontent.com/encode/django-rest-framework/3.9.2/rest_framework/locale/nl/LC_MESSAGES/django.po>
 (using 
DRF v3.9.2) into my 'locale/nl/LC_MESSAGES' folder (as described in the docs 
<https://www.django-rest-framework.org/topics/internationalization/>) and 
that works fine. But when I try to combine these with my existing messages 
files (created using `./manage.py makemessages -l nl`), I get all sorts of 
errors (e.g. duplicate message definition error between rest_framework 
messages and django/core/validators.py messages).

What am I doing wrong here? How do you combine your own translations with 
existing DRF translations?

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-rest-framework+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to