refactor localisation code to match my code style committed current pod spec