django-translations icon indicating copy to clipboard operation
django-translations copied to clipboard

Unable to translate records with same foreign keys

Open abdulrehmansohail opened this issue 2 years ago • 0 comments

Describe the bug I am trying to translate related fields of a model. but it only translated the first record and skipped the ones which are repeating.

To Reproduce

  1. create a model of Department with fields, department_name and their respective translations
  2. Create a model of employee with foreign key of department
  3. create multiple employees with same department and translate them
  4. you can see issue

Expected behavior It should translate all the department names

Screenshots It should translate both the records with 430000000001 number

image

Desktop (please complete the following information):

  • OS: Ubuntu 2020.04
  • Browser chrome

abdulrehmansohail avatar Jan 30 '23 10:01 abdulrehmansohail