by Juan Leyva.
Sorry, I didn't explain myself correctly, what I mean with change the "component" name is to edit this attribute value:
component: "core", to "local_myphoto", you can keep the name: "myphoto"
settings:{
name:"local_myphoto",
type:"general",
menuURL:"#myphoto",
lang:{
component:"core",
strings:{"clicmyphoto":"string in the plugin",
},
},
},