Allow suport for custom i18n backends in Django
|Reported by:||Owned by:||nobody|
|Cc:||Jannis Leidel||Triage Stage:||Unreviewed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It will be great for Django to allow developers customise the i18n backends if needed. This will allow developers to tweak with the Django's i18n functions as needed.
This is needed for projects like github.com/mathjazz/pontoon (A live website localisation tool from Mozilla) and https://github.com/rtnpro/django-pontoon-hook (Django hook for Pontoon). Currently, I am monkey patching some of Django's i18n methods to customise their functionality as needed by Pontoon. However, it's not conventional to use monkey patching in production, is it?
I have already worked on adding support for custom i18n backends here: https://github.com/rtnpro/django/commit/35dfea49c83f990780e181c59c10f9702e72f2e1
Please review it.
Change History (5)
comment:3 Changed 4 years ago by
|Component:||Translations → Internationalization|
|Status:||new → closed|