issue 2982 define language


git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12774 201d5d3c-b55e-5fd7-737f-ddc643e51545
issue 2976


git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12775 201d5d3c-b55e-5fd7-737f-ddc643e51545