Vehicle transmission, comprising a transmission space in which transmission elements (106, 108, 110, 112) are accommodated, such that the vehicle transmission also has the following features: a transmission housing, a shift fork, which is accommodated in the transmission space and is designed to shift at least one transmission element, a selector shaft, which is accommodated in the transmission space and is designed to move the shift fork in a manner that depends on a shift position of the vehicle transmission, and a sensor device for detecting a shift position of the vehicle transmission, the said sensor device comprising - a rod element, which extends from the transmission space into an adjoining space that is sealed relative to the transmission space, and which is arranged to move in a manner that depends on the shift position, wherein the rod element has an interface arranged in the transmission space for coupling the rod element to a transmission element which latter is positioned in a manner that depends on the shift position, and a receiving section arranged in the said adjoining space, - a transmitter element which is attached to the receiving section of the rod element, and - a detection device for detecting a position of the transmitter element that depends on the shift position, or a movement of the transmitter element that depends on a change of the shift position, wherein the interface of the rod element of the sensor device is coupled mechanically to the shift fork by means of at least one connecting element (110, 112), wherein the transmission space and the adjoining space are separated by the transmission housing from the outside area of the vehicle transmission, wherein the detection device of the sensor device is arranged on an outer surface of the transmission housing, wherein the sensor device comprises at least one sealing element for the fluid-tight and/or particle-tight sealing of the adjoining space from the transmission space and the said rod element extends through the said at least one sealing element, wherein the detection device comprises a sensor based on a magnetic principle and the transmitter element comprises a magnet or a magnetisable material, and wherein the rod element is made of a non-magnetic material. a transmission housing, a shift fork, which is accommodated in the transmission space and is designed to shift at least one transmission element, a selector shaft, which is accommodated in the transmission space and is designed to move the shift fork in a manner that depends on a shift position of the vehicle transmission, and a sensor device for detecting a shift position of the vehicle transmission, the said sensor device comprising - a rod element, which extends from the transmission space into an adjoining space that is sealed relative to the transmission space, and which is arranged to move in a manner that depends on the shift position, wherein the rod element has an interface arranged in the transmission space for coupling the rod element to a transmission element which latter is positioned in a manner that depends on the shift position, and a receiving section arranged in the said adjoining space, - a transmitter element which is attached to the receiving section of the rod element, and - a detection device for detecting a position of the transmitter element that depends on the shift position, or a movement of the transmitter element that depends on a change of the shift position, - a rod element, which extends from the transmission space into an adjoining space that is sealed relative to the transmission space, and which is arranged to move in a manner that depends on the shift position, wherein the rod element has an interface arranged in the transmission space for coupling the rod element to a transmission element which latter is positioned in a manner that depends on the shift position, and a receiving section arranged in the said adjoining space, - a transmitter element which is attached to the receiving section of the rod element, and - a detection device for detecting a position of the transmitter element that depends on the shift position, or a movement of the transmitter element that depends on a change of the shift position, wherein the interface of the rod element of the sensor device is coupled mechanically to the shift fork by means of at least one connecting element (110, 112), wherein the transmission space and the adjoining space are separated by the transmission housing from the outside area of the vehicle transmission, wherein the detection device of the sensor device is arranged on an outer surface of the transmission housing, wherein the sensor device comprises at least one sealing element for the fluid-tight and/or particle-tight sealing of the adjoining space from the transmission space and the said rod element extends through the said at least one sealing element, wherein the detection device comprises a sensor based on a magnetic principle and the transmitter element comprises a magnet or a magnetisable material, and wherein the rod element is made of a non-magnetic material.