Issue translating H5P

Hello, I'm trying to translate to Spanish some H5P libraries and I don't know what I'm doing wrong. For example for the library Dialogcards I created the file es.json in h5p / libraries / H5P.Dialogcards-1.6 / language but the changes are not reflected in the site. Also, as a test, I made changes to the es.json file of a library that is already translated and they are not reflected either. I need some kind of help or advice, thanks in advance.