Commit Graph

2 Commits

Author SHA1 Message Date
Akihiro Motoki f6b5a2dc5e 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: I3ec4561eba1387876c2bbd8ea0f227043e1809ca
2019-12-28 14:36:55 +00:00
Andreas Jaeger efd404095e Proper translation integration
This reverts Ie518bffe825ae1c6d139a0613c30bc9748b52cd7 and
updates the scripts to properly work with the infra scripts.

It replicates now the current setup done by horizon - thus
moving the babel files to the top-level and adjusting run_tests.sh.

This copies over tools/install_venv_common.py from oslo-incubator so
that the message extraction works with the parameter that the infra
scripts expect.

The infra scripts have been adopted to work with this setup, see
change I09350bfd384f84d132dc03d9bae2a5015acb6b0f.

Change-Id: I6f5c8a4dc8897b27f9f700be42d5dd38f7d278d0
2015-10-31 09:39:07 +01:00