Hi Jian,
Thanks for the reply, Actually my requirement to create custom form where
we take input based from different user but "Label" which is hard coded in
template should change as per the language varient
I tried this code
<if>
<query valuea="Context:CurrentLanguageVariant.Key" operator="=="
valueb="Str:ENU">
<htmltext></htmltext>
</query>
<query type="else">
<htmltext></htmltext>
</query>
</if>
but didnt work
Thanks & Regards,
Amit
On Thursday, March 20, 2014 9:23:34 PM UTC+5:30, Jian Huang wrote:
>
> Hi Amit,
>
> I see that you are already using language variants.
>
> A placeholder inside a template can have different default values
> depending on language variant, so there isn't a need for if and else.
>
> -jian
>
> On Thursday, March 20, 2014 6:03:27 AM UTC-4, [email protected] wrote:
>>
>> Hi All,
>> I need to create a generic page template which will display message based
>> on locale or language varient
>>
>> i.e. if i have selected the french the message "Enter Decription" should
>> be in french and vice versa
>>
>> Can any help me out in implementing the any such if- else condition in
>> page template
>>
>> Thanks and regards,
>> Amit
>>
>
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.