you should check your save in Appdata/Roaming/StardewValley/Saves/(yourfarmname)_somedigits. In there is a file with the same name as the repertory. You can use a xml parser or something you look up under a tag named "canUnderstandDwarves" if it's:
<canUnderstandDwarves>true</canUnderstandDwarves>
<canUnderstandDwarves>false</canUnderstandDwarves>
<canUnderstandDwarves xsi:nil="true" />
The last two means you can't understand them, the first means you can. You can simple change the value to true for the game to make you understand them again.