Sitefinity offers a simple way to customize the various interface labels and messages presented throughout the site. This includes content like validation errors, input field labels, and status notifications.
These are available in the Administration Menu under Interface Labels & Messages. For convenience, the interface labels are grouped by type along the right side, and fully searchable.
![Sitefinity-Interface-Labels Sitefinity-Interface-Labels](/images/sitefinity-interface-labels-3-.png)
For the most part, this section is usually only used when a user wants to install a language pack to translate Sitefinity to another language. But you can also use it to fully customize any resource text in the site.
For example, when adding an item to the cart using the Ecommerce module, if you attempt to add an invalid quantity such as zero, an error message will be shown.
![Sitefinity-Interface-Labels-Invalid-Quantity Sitefinity-Interface-Labels-Invalid-Quantity](/images/sitefinity-interface-labels-invalid-quantity-3-.png)
It's certainly possible to use an external template to modify this text to be something simpler like "Invalid Quantity". However, if we open up the widget template (after extracting it from the Sitefinity SDK), we see that in fact it is using an OrdersResource named ProductQuantityIsInvalid for the label text.
![Sitefinity-Interface-Labels-In-Widget-Template Sitefinity-Interface-Labels-In-Widget-Template](/images/sitefinity-interface-labels-in-widget-template-3-.png)
So instead, let's just open up up the Interface Labels manager and change it there. Simply search for that key and the matching labels will be revealed, one for the AddToCart widget and the other for the ShoppingCart.
![Sitefinity-Interface-Labels-Product-Quantity Sitefinity-Interface-Labels-Product-Quantity](/images/sitefinity-interface-labels-product-quantity-3-.png)
Open up the matching item (or both if desired) and change it to meet your needs.
![Sitefinity-Interface-Labels-Modified Sitefinity-Interface-Labels-Modified](/images/sitefinity-interface-labels-modified-3-.png)
Even better, this feature allows you to override the default message in each separate language you have installed!
Now, when you save your changes and revisit the page, you’ll be shown your new customized text for the error message.
![Sitefinity-Interface-Labels-Custom-Error-Message Sitefinity-Interface-Labels-Custom-Error-Message](/images/sitefinity-interface-labels-custom-error-message-3-.png)
Finally, you can even create your own custom resources and labels to reuse throughout the site.
![Sitefinity-Interface-Labels-Create-Custom Sitefinity-Interface-Labels-Create-Custom](/images/sitefinity-interface-labels-create-custom-3-.png)
For more information, be sure to look at the following Sitefinity Documentation: Backend Labels
Enjoyed this post and/or found it useful?