Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

<% _t("SIZE","Size") %>


Reply


2 Posts   1015 Views

Avatar
bebabeba

Community Member, 193 Posts

17 November 2008 at 9:37pm

Hi!
I'm try to implement e-commerce. Can you explain me the menaing of the following sintax?I don't know the mening of _t inside <% %>

<% if Size %><p><% _t("SIZE","Size") %>: $Size.XML</p><% end_if %>

Avatar
Howard

Community Member, 215 Posts

17 November 2008 at 11:46pm

Hey there,

The _t just means that the function is translatable, you could check out http://doc.silverstripe.com/doku.php?id=i18n for more info