replace definitions pd.langkey with associated langkey definition