Jump to:

23493 Posts in 18996 Topics by 2878 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

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

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


    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

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.