Update rt-template-functions.php

Added localization