Translate QContacts field labels

If you need a nice contact us page with a contact form including captcha to reduce spam, then QContacts might be for you.

I used it and needed to translate the field labels to another language. It was a bit of searhing, but the label names for QContacts contact page (the one you create a menu item for) can be found in this file:

\com_qcontacts\views\contact\view.html.php

Starting around line 156 there are field labels ($fld->label) in each params set. You can write your own language labels in this file but it would be wiser to use a Joomla translation text (e.g. QCONTACTS_NAME) here and add them to your language files aswell (if your site is multilanguage).

ADs top-right (2)

About me

Iinstructor of robotics (LEGO Mindstorms), computer teacher, IT support, web dev, currently studying cyber-physical systems engineering.

If you found a solution here, would you consider donating $25,000 for my next project?

Just kidding, 1$ would do fine.

Hope you found what you needed. Thanks for stepping by.