Today, I tried to change the language to another one, and unfortunately I could not change it. In “Settings > General” options there was only a dropdown list with one option “English (United States)”.
What I expect:
What I get ( only “English (United States)” ):
Additionally, when you try to install or upgrade a plugin, WordPress prompt you for your FTP connection information while trying to install plugins or a WordPress update. Just like on the screenshot below.
WordPress prompt you for your FTP connection information while trying to install plugins or a WordPress update, beacuse can’t write to /wp-content directly. WordPress prompt you for your FTP connection information while trying to install plugins or a WordPress update, beacause can’t write to “/wp-content directly”. That’s why WordPress doesn’t have permissions to save the new language files.
How to Fix it?
To fix this problem with language settings and plugins / WordPress updates you have to edit wp-config.php file on your server. Simple add 1 line of code to wp-config.php:
define('FS_METHOD','direct');
To learn more about WordPress Permissions and Updates visit:
https://codex.wordpress.org/Changing_File_Permissions
https://codex.wordpress.org/Updating_WordPress
Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information