Era Host hosting
EraHost – Free Domain, Cheap Hosting!
Client Area
Support 24/7
Menu

Fixing "No Language Defined" Error in VestaCP

2 min read
01.11.2025

Check If Language Files Exist

VestaCP language files are stored in:

VestaCP No Language Defined
VestaCP "No Language" — empty LANGUAGE in user.conf; set valid code.

For related VestaCP topics in this cluster, see Missing Language Files (variant) and Not Recognizing Language.

/usr/local/vesta/web/lang/

Run the following command to check if the language files exist:

ls -lah /usr/local/vesta/web/lang/

If you see files like en.php, ru.php, etc., proceed to Step 2.

If the folder is empty, reinstall the language files (see Step 4).

Linux VDS
High performance for your projects
  • Root access and flexible setup
  • Control panel
  • NVMe disks
  • DDR5
Linux VDS

Set the Default Language in VestaCP

If the language file exists but isn't loading, manually set the language.

Edit the Vesta Configuration File

nano /usr/local/vesta/conf/vesta.conf

Find the LANGUAGE setting:

LANGUAGE='en'

If it's missing, add:

LANGUAGE='en'

Replace 'en' with your preferred language (ru, es, fr, etc.).

Save and restart VestaCP:

systemctl restart vesta

Fix File Permissions

If the language files exist but still don't load, fix the permissions.

Run:

chown -R root:root /usr/local/vesta/web/lang/
chmod -R 755 /usr/local/vesta/web/lang/

Restart VestaCP after fixing permissions:

systemctl restart vesta

Reinstall Missing Language Files

If the language folder is empty or corrupted, reinstall it.

Download the Language Pack

cd /usr/local/vesta/web/
git clone https://github.com/serghey-rodin/vesta.git vesta-lang

Move the Language Files

cp -r vesta-lang/web/lang/ /usr/local/vesta/web/

Remove Unnecessary Files

rm -rf vesta-lang

Restart VestaCP

systemctl restart vesta

Now your language settings should be restored!

Summary of Fixes

Issue Fix
Missing language files Run git clone to restore language files
Incorrect language setting Set LANGUAGE='en' in /usr/local/vesta/conf/vesta.conf
File permissions issue Run chown -R root:root /usr/local/vesta/web/lang/
VestaCP not recognizing language Restart VestaCP with systemctl restart vesta

Now VestaCP should display the correct language!

Frequently asked questions
`/usr/local/vesta/data/users//user.conf`. Look for a `LANGUAGE='xx'` line. Empty value, missing line, or value not matching any file in i18n directory all cause "No Language Defined." Set to `LANGUAGE='en'` as safe default; reload page.
`/usr/local/vesta/conf/vesta.conf` has `LANGUAGE='en'` (or whatever the install set). New accounts inherit from here. Change it for all new accounts; existing accounts unchanged. To migrate existing: script over /usr/local/vesta/data/users/*/user.conf and replace LANGUAGE line.
Yes, but rare cause. After adding a new language pack, restart Vesta's web (`systemctl restart vesta-nginx`) and reload page. UI re-reads the i18n directory at startup.
Original VestaCP isn't actively maintained. HestiaCP forked and continues development with similar UI. Migration: most user.conf compatible with Hestia. For long-term, plan migration to Hestia or other actively-maintained panel.
Related articles
Fixing "No Language Defined" in VestaCP — Missing Language Files
Fix "No Language Defined" in VestaCP — VestaCP Not Recognizing Language
Fixing EAI_NONAME Error (DNS Resolution Failure)