rename_translation function

Function that actually performs the renaming of the translations