In this document:
Introduction
The text in the booking calendar is for general booking purposes. But, sometimes it’s necessary to change the text, including headers and titles, to make more sense to your customers and business.
This guide explains the two methods you can use to change text in the booking calendar:
- Using the Loco Translate plugin
- No plugin: Adding to your theme’s functions.php file
What This is Useful For
- Change the name and email address field label in the booking form
- Say something other than, “What type of appointment are you booking?”
- Translation not in the proper form.

Loco Translate Plugin
Loco Translate is a free plugin to edit built in plugin field labels. Install and activate the Loco Translate plugin.

Create a New Language Profile
After activating Loco Translate, look for the Loco Translate heading on the bottom left side of your WordPress Dashboard.
Click on it, and then choose “Plugins”

You should see a full list of all the plugins installed on your site. Click Simply Schedule Appointments, and then click New Language.

The next screen will show two steps.
On the first step, choose the language that you currently use on your WordPress site. On the second step, choose System. When you’re ready, click Start Translating.

Start Translating
After creating the new language profile, you can now start translating!
The top half of the screen displays a list of all the different phrases in Simply Schedule Appointments. You can use the filter section to search for the phrase you want to change.
Let’s say we want to change the default “Name” field to display as “Please enter your full legal name”. We can follow these steps to change the field label:
- Use the filter to search for “Name”.
- Click on the field label “Name”.
- Towards the bottom of the screen, you will see an area for the translated text. Enter the new phrase here.
- Click Save.

Check the Simply Schedule Appointments booking form to make sure that it’s working:

And that’s it! You can repeat the steps above for any other built in labels you’d like to change.
No Plugin: Adding to the functions.php File
If you’re comfortable with adding PHP code to your functions.php file (or a custom plugin), this code should help you achieve the same thing as LocoTranslate without adding the performance overhead of another plugin:
add_filter( 'gettext', 'customize_ssa_button_text', 100, 3 );
function customize_ssa_button_text( $translated_text, $text, $domain )
{
if ( $domain !== 'simply-schedule-appointments' )
{
return $translated_text;
}
// Replace only OLD_TEXT
if ( $text === 'OLD_TEXT' ) {
return 'NEW_TEXT';
}
return $translated_text;
}
Just make sure to make the proper replacements in this bit of code, for example:
if ( $text === 'There are no available appointment times.' ) {
return 'Sorry, there are no appointments at this time. Check again Monday morning :)';
}
Replacing all instances of a word
If you want to replace a word across the entire plugin you could use the following snippet. Keep in mind that str_replace is case-sensitive, so ‘Appointment’ and ‘appointment’ are different.
$translated_text = str_replace('EXISTING_WORD', 'NEW_WORD', $translated_text);
//For example, if I want to replace all instances of 'Appointment' with 'Meeting', I'd have to write something like -
$translated_text = str_replace('appointment', 'meeting', $translated_text);
$translated_text = str_replace('Appointment', 'Meeting', $translated_text);
So, if you were replacing phrases and also wanted to replace all the instances of a word, your snippet would look like this:
add_filter( 'gettext', 'customize_ssa_button_text', 100, 3 );
function customize_ssa_button_text( $translated_text, $text, $domain )
{
if ( $domain !== 'simply-schedule-appointments' )
{
return $translated_text;
}
// Replace only OLD_TEXT
if ( $text === 'OLD_TEXT' ) {
return 'NEW_TEXT';
}
// Replace all instances of EXISTING_WORD
$translated_text = str_replace('EXISTING_WORD', 'NEW_WORD', $translated_text);
return $translated_text;
}
Accessing the functions.php File
In your WordPress Dashboard, go to Appearance > Theme Editor. On the right-side, you should see a sidebar with files. Select the functions.php file.
Scroll all the way to the bottom and paste in the above code, making sure you’ve properly replaced the old text and new text fields.
Click Update File and that should be it!
Related Guides
-
Custom Styles for the Booking Calendar
-
Formatting Time and Date Slots
-
Hiding Buttons and Links
-
Hiding Headers, Text, and Icons