I Use this Document translation 
<https://docs.djangoproject.com/en/3.0/topics/i18n/translation/> and 
translate my fields but in DRF name of fields not translate just value of 
fields are translate ??

DFR Response in en :

{
  id:1
  name:'ali'

}

and in fa:
{
  id:1
  name:'علی'

}

but i want to fa:
{
  id:1
  'نام':'علی'

}

'name' should be 'نام'?
msgid "name"
msgstr "نام"





-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/63a1f026-ec0d-4936-9616-b7cf6d88e5d1%40googlegroups.com.

Reply via email to