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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

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


Go to End


2 Posts   1229 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