how to make a wplang for network fill automatically

OK Thanks all I found the answer

update_option( 'WPLANG', 'ar' ); 

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)