• Hi,

    your plugin is working fine, but there is one thing which causes troubles.

    Some of your text messages are included in the custom-contact-forms-front.php, e.g. the “(required)” or the “Go back to form”.

    I would like to translate them into German, but whenever I change even one letter and upload the file, I receive the message

    Parse error: syntax error, unexpected T_LNUMBER in /is/htdocs/wp1103301_0L1VIVHKHU/www/cms/wp-content/plugins/custom-contact-forms/custom-contact-forms-front.php on line 184

    Any idea how to solve this? May I enter/change the text somewhere else?

    Thanks, Thomas

    https://www.ads-software.com/extend/plugins/custom-contact-forms/

Viewing 1 replies (of 1 total)
  • You don’t need to edit the custom-contact-forms-front.php, so revert to original file.

    You will need Poedit https://www.poedit.net/ to create a new language file.

    Open the plugin language file (located in lang directory of the plugin) custom-contact-forms.po with poedit, translate the strings you want and save it with your language code custom-contact-forms-de_DE.po
    It will create a .mo file automatically so you will have 2 po and 2 mo files in the lang directory for this plugin.

    Refresh you form page then test the errors messages.

Viewing 1 replies (of 1 total)
  • The topic ‘Change text in custom-contact-forms-front.php?’ is closed to new replies.