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   1004 Views

Avatar
bebabeba

17 November 2008 at 9:37pm Community Member, 192 Posts

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

17 November 2008 at 11:46pm Community Member, 215 Posts

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