Jump to:

17691 Posts in 4607 Topics by 2180 members

General Questions

SilverStripe Forums » General Questions » Text strings, constants. Best practice?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba

Page: 1
Go to End
Author Topic: 845 Views
  • patrik
    Avatar
    Community Member
    9 Posts

    Text strings, constants. Best practice? Link to this post

    Hi!

    As a pretty new Silverstripe developer i wonder how to handle constant text strings in templates? It could be strings such as "Sign up", "Author", "By" and similar strings used in the application. I have previously used Zend Framework a lot and have then i used Zend_Translate for this purpose.

    Are there any similar way to handle text strings in Silverstripe, preferably in language files?

    Edit: Spelling

    845 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.