Allow suport for custom i18n backends in Django
|Reported by:||rtnpro@…||Owned by:||nobody|
|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:1 Changed 3 years ago by rtnpro@…
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 3 years ago by rtnpro@…
- Component changed from Uncategorized to Translations
- Has patch set
comment:3 Changed 3 years ago by ramiro
- Component changed from Translations to Internationalization
- Resolution set to duplicate
- Status changed from new to closed