A sliding window for a building, the sliding window comprising: - a fixed frame , - at least one leaf , - a motorized drive device for moving the leaf by sliding relative to the fixed frame , ∘ the motorized drive device comprising: ▪ an electromechanical actuator , the electromechanical actuator comprising an electric motor , ▪ a flexible element , the flexible element being configured to drive the leaf in displacement relative to the fixed frame , when the electromechanical actuator is electrically activated, and ▪ a drive arm , the drive arm carrying a locking-control device , the drive arm and the locking-control device thus forming an integral mechanical sub-assembly, the drive arm being, on the one hand, attached to a frame of the leaf and, on the other hand, connected to the flexible element by way of the locking-control device , - a system of fittings , the system of fittings comprising a lock , so as to lock or unlock the leaf relative to the fixed frame , the lock being arranged inside the frame of the leaf , the locking-control device being configured to rotate a shaft of the lock , when the flexible element is driven by the electromechanical actuator , the sliding window also comprising a plate , the plate being arranged opposite the lock and interposed between the drive arm and the frame of the leaf , in an assembled configuration of the drive arm on the frame of the leaf , and the plate comprising: - first positioning elements configured to cooperate with positioning elements of the frame of the leaf , and - second positioning elements configured to cooperate with positioning elements of the drive arm . - a fixed frame , - at least one leaf , - a motorized drive device for moving the leaf by sliding relative to the fixed frame , ∘ the motorized drive device comprising: ▪ an electromechanical actuator , the electromechanical actuator comprising an electric motor , ▪ a flexible element , the flexible element being configured to drive the leaf in displacement relative to the fixed frame , when the electromechanical actuator is electrically activated, and ▪ a drive arm , the drive arm carrying a locking-control device , the drive arm and the locking-control device thus forming an integral mechanical sub-assembly, the drive arm being, on the one hand, attached to a frame of the leaf and, on the other hand, connected to the flexible element by way of the locking-control device , ▪ an electromechanical actuator , the electromechanical actuator comprising an electric motor , ▪ a flexible element , the flexible element being configured to drive the leaf in displacement relative to the fixed frame , when the electromechanical actuator is electrically activated, and ▪ a drive arm , the drive arm carrying a locking-control device , the drive arm and the locking-control device thus forming an integral mechanical sub-assembly, the drive arm being, on the one hand, attached to a frame of the leaf and, on the other hand, connected to the flexible element by way of the locking-control device , - a system of fittings , the system of fittings comprising a lock , so as to lock or unlock the leaf relative to the fixed frame , the lock being arranged inside the frame of the leaf , the locking-control device being configured to rotate a shaft of the lock , when the flexible element is driven by the electromechanical actuator , - first positioning elements configured to cooperate with positioning elements of the frame of the leaf , and - second positioning elements configured to cooperate with positioning elements of the drive arm . <EOS>