Disable the language settings in elgg

From The IT Community
Jump to: navigation, search

If you want to keep your elgg page strictly in one language, you don´t want to give your users the option to change it. So, just disable the language settings from the users settings menu.

Here is how to disable the language settings in elgg:

  • On your elgg installation, change to the directory
<elgg installation>/views/default/core/settings/account/

change <elgg installation> with the path you installed elgg into.

  • Rename the file language.php to something else:
mv language.php language_old.php

That is it, no need to restart anything, The next time the user switches into his settings page, the the language settings area is completly gone.

Was this article helpful? Then please donate to keep The IT Community alive...

If you found this article helpful please share it, comment and help others by writing your own article.

Translate this page: