- Open the
installer.phpfile available in the releases. - This will automatically install the system.
After the installation, follow these steps:
- In your PHP files, add the line
<?php require 'translation.php'; ?>. This line should only be added to the files that you accepted during the installation process. - Within these files, you can add lines of code for translation like this:
<?php echo translate('main.text'); ?>. - Make sure to add the translation keys (e.g.,
main.text) in the JSON files.