There isn't really a way to specifically prohibit users from changing their language in preferences, unless you disable their preferences generally.
Anonymous users can't change the language anyway.
I need to edit this file LocalSettings.php file
, To add this code $wgLanguageCode = "ar";
I have disabled this extension : UniversalLanguageSelector
But the issue does not be resolved .