Hello,
I'm trying to have localized values inside a select field, but they are not translated by the engine during template rendering,
is this a bug or am I missing something?
in my template I have:
<!--V 'FORM:SELECT:gender'/-->
<!--B 'FORM:LABEL:gender:male'--><!--V 'L10N:gender.male'/--><!--/B-->
<!--B 'FORM:LABEL:gender:female'--><!--V 'L10N: gender.female'/--><!--/B-->
this is rendered as:
<select name="gender">
<option value="male"><!--V 'L10N:gender.male'/--></option>
<option value="female"><!--V 'L10N: gender.female'/--></option></select>
If I put the localized values anywhere else in the template they are being replaced by the correct values from the Resource bundle.
As a workaround I converted the L10N values to normal template values and set them in the element, this is
however not very elegant en would like to have a better solution.
I'm trying to have localized values inside a select field, but they are not translated by the engine during template rendering,
is this a bug or am I missing something?
in my template I have:
<!--V 'FORM:SELECT:gender'/-->
<!--B 'FORM:LABEL:gender:male'--><!--V 'L10N:gender.male'/--><!--/B-->
<!--B 'FORM:LABEL:gender:female'--><!--V 'L10N: gender.female'/--><!--/B-->
this is rendered as:
<select name="gender">
<option value="male"><!--V 'L10N:gender.male'/--></option>
<option value="female"><!--V 'L10N: gender.female'/--></option></select>
If I put the localized values anywhere else in the template they are being replaced by the correct values from the Resource bundle.
As a workaround I converted the L10N values to normal template values and set them in the element, this is
however not very elegant en would like to have a better solution.
Edwin
_______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
