controllers/MessageController.php
public function actionFastUpdate($id)
    {
        Message::updateAll(
            ['translation' => Yii::$app->request->post('translation')],
            ['id' => $id, 'language' => Yii::$app->request->post('language')]
        );
    }
public function actionFastUpdate($id)
    {
        Message::updateAll(
            ['translation' => Yii::$app->request->post('translation')],
            ['id' => $id, 'language' => Yii::$app->request->post('language')]
        );
    }
public function actionFastUpdate ( $ id ) { Message :: updateAll ( [ 'translation' => Yii :: $ app -> request -> post ( 'translation' ) ] , [ 'id' => $ id , 'language' => Yii :: $ app -> request -> post ( 'language' ) ] ) ; }
Fast translation update.

@param int $id
@return string
Fast translation update .