Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter FrederikRS

    (@frederikrs)

    I localized the issue:
    The “load_plugin_textdomain” wasn’t set in the main plugin file.

    To get translations work just add this line:

    load_plugin_textdomain( 'custom-contact-forms', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );

    to the beginning of the file custom-contact-forms.php.

    Rename your translation files to “custom-contact-forms-da_DK.po” and “custom-contact-forms-da_DK.mo” (for the Danish translation).

    I wrote to Taylor Lovett and asked to add this line to the file.

    – FrederikRS

    Thank you! Translated to Spanish and could not wonder the reason why wasn’t working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Contact Forms] Translation won't work.’ is closed to new replies.