Converted all template translation stuff to spring