--- a/src/pyams_form/widget/templates/radio-display.pt Fri Jul 26 12:33:02 2019 +0200
+++ b/src/pyams_form/widget/templates/radio-display.pt Fri Jul 26 12:34:54 2019 +0200
@@ -1,4 +1,5 @@
<input type="text" readonly
+ tal:define="translate request.localizer.translate"
tal:attributes="id view/id;
class string:${view/klass} border-0;
style view/style;
@@ -14,4 +15,4 @@
onkeypress view/onkeypress;
onkeydown view/onkeydown;
onkeyup view/onkeyup;
- value python:', '.join(view.displayValue)" />
+ value python:', '.join((translate(value) for value in view.displayValue))" />