hi this my code : class BookListAPIView(ListAPIView): queryset = Book.objects.all() serializer_class = Bookserializer
and django.po and compiled is : msgid "title" msgstr "عنوان" #: .\app\models.py:13 msgid "price" msgstr "قیمت" and result is for http://127.0.0.1:8000/fa/ : [ { "id": 1, "title": "تست", "price": "900000" }] in result "title" and "price" not changed they should be "عنوان" and "قیمت": i create a view for create new object : class BookCreateAPIView(CreateAPIView): queryset = Book.objects.all() serializer_class = BookCreateserializer and translation for "title" and "price" worked correctly they are "عنوان" and "قیمت": but i dont know why not work for ListAPIView -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b6509200-0ca2-4eec-b917-0335c549f0e3%40googlegroups.com.

