Menu
 
 

Adding new language to bookingwizz, or translating existing

 
To add new language...
Starting from version 5.1 it is really easy to translate BookingWizz to your preffered language.
 
Here's what you need to do:
 
1) after installing BookingWizz, navigate to languages folder inside booking folder. You will see 1 file there - "english.lang.php"
 
2) copy this file somewhere on your local computer.
 
3) rename the file to needed language, for example :  "french.lang.php" or "spanish.lang.php"  (no quotes of course).
 
4) open that new file in any text editor (notepad for example), you will see lots of code which will start with "define(...."
Now, all you need to do is translate second part of each "define" statement, like this:
 
Before:
 
define("SOME_VAR_HERE", "Welcome to Booking Wizz");
 
After (French example):
 
define("SOME_VAR_HERE", "Bienvenue a Booking Wizz");
 
5) after all needed text strings translated, upload new file (french.lang.php) to the languages directory in booking folder.
 
6) navigate to BookingWizz administration settings page and select your new language in the languages dropdown. That's it!
 
 
To modify any text in BookingWizz...
Open language file in /booking/languages/ (for example english.lang.php) with any text editor and find needed text you wish to edit:
 
define("MENU1_1","Single Day Service");
 
You need to change text in second set of quotes. Like this:
 
define("MENU1_1","One Day Services");