Closed bart-maykin closed 10 months ago
Well, that's an interesting feature.
I'm mostly just maintaining this project to ensure it works with latest django versions, but if you're interested, you can try implementing this yourself and create PR, it should be possible to achive you desired result.
Thank you for the quick feedback! We'll come up with a PR
@last-partizan hi! we've implemented this feature, can you give an indication on when you (or another maintainer) might have time to review it? I don't mean to pressure you, just having an ETA is sufficient for us to take it into account for our own planning.
@sergei-maertens i'll take a look today :)
If everything is ok, expect it merged until the end of the week.
Awesome!
Currently when the translation fields are created the default value of a model.field will be translated based on the current value. It would be very handy if this could be changed to the field language of the currently created translation field.
So if you have the following charfield for example:
description = models.CharField( verbose_name=_("description"), default=_("Some english text") )
And configured your project to support english and dutch with default (and current) language to be english you get the following fields with values:
The wanted outcome would be based on your translation files to something like this for example: