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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1479 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