Checking if the user have repository and giving extension to the file. Also Adding Languages (ca, es)