The msg object is a FreeMarker method object used for resolving I18N message IDs into label strings. It provides access to the combined I18N label bundle for the application and component.
For example:
<span>${msg("label.mymessage")}</span>