Commit Graph

2 Commits

Author SHA1 Message Date
Akihiro Motoki 5493889d83 translation: drop babel extractor definitions
babel extractors are now registered via python entry points,
so there is no need to declare babel extractors in babel configs.

This change is important to make translation work in Django 2.2.
django-babel does not work with Django 2.2 and looks unmaintained
for over two years. The horizon team is thinking to switch the extractor
to enmerkar (a fork of django-babel) to make extraction of translation
string work again near future. It is important to drop the extractor
definition to make the transition smooth.

Change-Id: I9b856e6ba9b5783a765ea8d14f0bd6f012256876
2019-12-27 02:10:13 +09:00
François Magimel 8112c32eec Enable translation for cloudkitty-dashboard
Allow translators to translate the dashboard.

This commit sets up related files according to the infra guide [1]. Also
removes Babel related entries in setup.cfg. They are not sufficient as
Django requires two PO files (django and djangojs).

[1] https://docs.openstack.org/infra/manual/creators.html#django-projects

Change-Id: Ifc616d58a794d94f2f36823dcfee4f0165981b12
Task: 22816
Story: 2002867
2018-07-05 14:36:27 +02:00