Ask Your Question

language translation of red buttons

asked 2013-02-13 21:54:33 -0500

joe-topjian-v gravatar image


I'm trying to get a fully translated Horizon installation running, but I cannot figure out how to translate the text in red buttons. The red buttons provide Delete actions and are set up differently in the Horizon code.

For example:

Folsom: horizon/dashboards/nova/access_and_security/security_groups/, line 29 Grizzly/master: horizon/openstack_dashboard/dashboards/project/access_and_security/security_groups/, line 30

The class that the above references is the Delete action for Security Groups, which I imagine is the red button "Delete Security Groups" when accessing http://localhost/project/access_and_security (http://localhost/project/access_and_s...) .

Does anyone know how these can be translated?

Thanks, Joe

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-02-15 10:40:51 -0500

jpichon gravatar image

This is a bug. It appears due to the code that concatenates and conjugates "Delete" + "data type": -- it probably should be using the string_concat django translation utils instead of returning a translatable string of translatable strings (?). Unfortunately there are other issues here, since it wouldn't be "verb + noun" in every language.

edit flag offensive delete link more

answered 2013-02-15 15:30:20 -0500

joe-topjian-v gravatar image

Thanks, Julie! I will open a bug report.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-02-13 21:54:33 -0500

Seen: 80 times

Last updated: Feb 15 '13