Add languages/mode map for console

Add languages/mode map for console