I sent some changes. I added some examples in this file you need to load get the $this->getConnection()

https://github.com/chamilo/chash/blob/master/src/Chash/Command/Translation/AddSubLanguageCommand.php#L54-L60

You need to pull in order to have those changes.