Add a function to set the code language when unspecified.