Latest Blogs

News
Vietnamese Lunar New Year is coming very soon. This 7-day festival is the biggest holiday that marks the beginning of a New Year according to the Vietnamese lunar calendar. To celebrate this most exciting holiday, TemPlaza would like to offer you a s...
712 Hits
Tutorials
Articles
Websites hold the foremost pillars to promote your brand in this era of digitization and the internet of things. But how to launch a successful website that not only provides a great user experience but convert leads as well? Website designing is a c...
730 Hits
News
Today, I would like to introduce a new item that has recently been released, it's Goldena. This is a beautiful and creative single property Joomla template specially developed for Single Property, Building Services, Building Business & all kinds ...
703 Hits
News
We've been through a hard time during 2020 and thank you so much for being accompanied by us, as well as your great support. Let's say goodbye to 2020 and welcome the new year of 2021 with better things. Looking back to the old year, the team was wor...
1457 Hits
News
Christmas and New Year 2021 are knocking on our doors. We've been through a busy and hard time of the year 2020. We would like to give you a big thank you for being accompanied by us for the whole year. It's time to enjoy our Christmas...
1759 Hits
How-to-override-language-of-fields-in-Joomla-contact-form

How to override language of fields in Joomla contact form

When you're running a website, it's important to build a bridge which can connect you and your customers or audience. In particular, Contact form is an essential way to collect feedback, response, and even queries from visitors. By using the default component of Joomla, you now can easily make it come into picture. However, the thing that you're still confused is if there are any way to translate specific fields in Joomla contact form. Today, we'll show you how to do it by using the function "language(s) Overrides" in Joomla.

Follow these steps below: 
1. Log into your Joomla back-end, then go to Extensions > Languages > Overrides 

 2. Click on the button "New" to create a new override.

3. Using the Search tool to search for either a "Language Constant" or a "Value". A language string is composed of two parts: a specific language constant and its value. For example, in the string: COM_CONTACT_CONTACT_EMAIL_NAME_LABEL="Name" - COM_CONTACT_CONTACT_EMAIL_NAME_LABEL' is a constant and "Name" is a value.

4. To translate these labels in contact form: Name, Email, Subject, Message ..., you need to type them in Search box, in order to look for a relevant constant. After that, select a value or a constant appearing in the result list generated, and change your words in the textarea box on the left, then save.
Here below are language strings for Joomla contact form:

COM_CONTACT_CONTACT_EMAIL_NAME_LABEL > Name
COM_CONTACT_EMAIL_LABEL > Email
COM_CONTACT_CONTACT_MESSAGE_SUBJECT_LABEL > Subject
COM_CONTACT_CONTACT_ENTER_MESSAGE_LABEL > Message

​5. After having done all changes, go to your Contact page and check the results. Please note that, this is only an example for overriding fields in Joomla contact form. Beside that, you can easily do the same steps applied to other values and constants.

We hope this tutorial is helpful for you to not only override language of fields in Joomla contact form, but also language of other sections. Please leave a comment if you have any questions or feedback for us.

Web Design Trends in 2019
3 Simple Ways to Disable Gutenberg

Related Posts

 

By accepting you will be accessing a service provided by a third-party external to https://www.templaza.com/