Setup translation for this repo as django project following the common setup as documented in http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html This adds the django babel files and removes the default one which will not work with django. Fixed package name, all python files are in ironic_ui, so package name needs to be ironic_ui, not ironic-ui. Change-Id: I8482a1896f16b4ed19a1117c7afc583bba5e13fb
15 lines
597 B
INI
15 lines
597 B
INI
[extractors]
|
|
# We use a custom extractor to find translatable strings in AngularJS
|
|
# templates. The extractor is included in horizon.utils for now.
|
|
# See http://babel.pocoo.org/docs/messages/#referencing-extraction-methods for
|
|
# details on how this works.
|
|
angular = horizon.utils.babel_extract_angular:extract_angular
|
|
|
|
[javascript: ironic_ui/**.js]
|
|
|
|
# We need to look into all static folders for HTML files.
|
|
# The **/static ensures that we also search within
|
|
# /openstack_dashboard/dashboards/XYZ/static which will ensure
|
|
# that plugins are also translated.
|
|
[angular: ironic_ui/**/static/**.html]
|