Final step
If you've made it to this step, congratulations! Your multilingual setup is now fully functional.
Before translations can be used in production, we need to finalize the setup by running a few important commands inside your Pterodactyl directory.
Step 1: Go to your Pterodactyl directory
cd /var/www/pterodactyl
Step 2: Clear all Laravel caches
php artisan config:clear
php artisan view:clear
php artisan route:clear
php artisan cache:clear
Step 3: Set correct file permissions
chown -R www-data:www-data /var/www/pterodactyl/*
Step 4: Install frontend dependencies
yarn install
Step 5: Fix any lint issues
yarn run lint --fix
Step 6: Enable legacy OpenSSL support (required for Node.js 17+)
If you are using Node.js 17+ or receive OpenSSL related build errors:
export NODE_OPTIONS=--openssl-legacy-provider
This step must be done before building production assets.
Step 7: Build production assets
yarn run build:production
That's it!
Your multilingual system system is fully installed and ready to use!
What's next?
If you'd like to continue customizing and translating the panel, head over the next section:
Creating Translation Strings: Learn how to add translation keys, structure namespaces, and make the entire panel multilingual.
Last updated