Using dict to process language mapping.
Merge pull request #15 from RobberPhex/master

fix language's sensitive problem