What about this?
import bpy
for shapekey in bpy.data.shape_keys:
# rename / translate shape key names by changing shapekey.name
What about this?
import bpy
for shapekey in bpy.data.shape_keys:
# rename / translate shape key names by changing shapekey.name