Using dict to process language mapping.