[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
No Subject
Hello,
I would like to have the name and comment of a product to change
according to the language choosed by the customer when he enter the site. One
solution is to use the tag [L] or [loc] and the Locale database. But I think it
is not simple to use.
I would be simplier to have another field in the product database for
each translations (comment_US, comment_FR, ...). So I thinked of a solution that
would be like that :
[if locale = "US"]
[item-field comment_US]
[elseif locale = "FR"]
[item-field comment_FR]
[/elseif]
[elseif locale = "DE"]
[item-field comment_DE]
[/elseif]
[else]
[item-field comment_US]
[/else]
[/if]
But my problem is that I don't know how the Locale variable is named. How can I
access it ? Or do you have a solution to my problem (translatings name and
comments, ...).
Thanks for your help