com.google.template.soy.msgs
Interface SoyMsgBundleLoader


public interface SoyMsgBundleLoader

Contract for any object that can load a SoyMsgBundle given a locale.


Method Summary
 SoyMsgBundle getSoyMsgBundleForLocale(Locale locale)
          Gets the Message bundle for a particular locale.
 

Method Detail

getSoyMsgBundleForLocale

SoyMsgBundle getSoyMsgBundleForLocale(Locale locale)
Gets the Message bundle for a particular locale.

Returns:
The bundle. The Soy API expects SoyMsgBundle.EMPTY if there are no translations and the in-template messages should be used.