[misc] Use the new $services.localization service instead of the deprecated $msg
[cleanup] Removed deprecated <template> document field