It's difficult since we're getting this data back from Nova/Glance etc and as far as I know, there is currently no way (?) to request the strings to be returned in a specific language.
We could duplicate the list (like we do e.g. when messages returned are unclear [0] - I suddenly notice that these strings are not marked as translatable!) and do a 1-on-1 mapping to have translatable strings but it doesn't seem very DRY, nor does it scale well as new messages will get added to the other services.
Currently the yes/no strings in Public/Protected for Images are correctly showing in the target language for me (using Japanese to test).
It's difficult since we're getting this data back from Nova/Glance etc and as far as I know, there is currently no way (?) to request the strings to be returned in a specific language.
We could duplicate the list (like we do e.g. when messages returned are unclear [0] - I suddenly notice that these strings are not marked as translatable!) and do a 1-on-1 mapping to have translatable strings but it doesn't seem very DRY, nor does it scale well as new messages will get added to the other services.
Currently the yes/no strings in Public/Protected for Images are correctly showing in the target language for me (using Japanese to test).
[0] https:/ /github. com/openstack/ horizon/ blob/master/ openstack_ dashboard/ dashboards/ project/ instances/ tables. py#L506