mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-25 03:32:55 +03:00
LocalizedValue.translate() behaves the exact same as the str(..) cast works, with the exception that it returns None if there is no value instead of an empty string. This makes it easier to implement custom value classes on top of the LocalizedValue class. Behavior for str(..) stays the same as it was.