Add system language detecting function.