Get Virtualizor

How to make a Language Pack

Overview

Virtualizor has many languages and you can make your own language pack as well. This guide shows you how to make your own language pack.

How to translate

All language files located in the /usr/local/virtualizor/languages/ directory are used by the admin and enduser panel.
If you want to add a custom language for the admin panel, follow these steps:

  • Create a JSON language file following the same key–value structure as the existing language files.
    For example: custom.json
  • Place the newly created JSON file inside the /usr/local/virtualizor/languages/ directory.
  • Open the /usr/local/virtualizor/globals.php file and add an entry for your custom language in the
    $globals['list_languages'] array.
    Use the file name as the key and the display name as the value.
    Example:  'custom' => 'Custom Language'

This will make the language appear in the admin panel language selection.

Note
After making any changes to custom.json (or any other language file), you must switch the admin panel language to a different one, save the settings, and then switch back to your custom language for the changes to take effect.

Changing the Default Language

In order to change the default language go to the Virtualizor Admin Panel -> Configuration -> Slave Settings.
There you will find the Choose Language option. You can choose the language of your choice.

    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list