new bundle loading support and localization in templates