WordPress.org

Support

[Resolved] Language

  • Hey.

    I can’t get this contact form to display Norwegian text. It works in English, but when I change to Norwegian the labels and text disappears.

    My site is http://www.tomrerdahl.no.
    Go to “Kontakt”.

    I have set my Wp-config.php to:

    define(‘WPLANG’, ‘nb_NO’);

    And I also use this code to display my contact form:

    <?php echo do_shortcode(‘[contact_form lang=nb_NO]’); ?>

    There is a language folder in the contact form folder, and a file there is called: “contact_form-nb_NO.mo”.

    http://wordpress.org/plugins/contact-form-plugin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bestwebsoft

    @bestwebsoft

    Hi,

    1)How to add the contact form not in English?

    Add a language in the block “Language settings for the field names in the form” on the plugin settings page.

    Mark the check box (if it’s not marked yet) in the block “Change the names of the contact form fields and error messages”, choose the necessary tab and fill in the fields. Choose the necessary tab in the block “Action after email is sent” as well and fill in the field. Save the changes.

    You will see the shortcode under the tab with the necessary language. Please paste that shortcode to the page or post.

    2) It is not clear enough where exactly you add this line. Into some file? Why don’t you use the standard method of adding a shortcode?

    <?php echo do_shortcode(‘[contact_form lang=nb_NO]’); ?>

    Sincerely,
    Support Team

    Hey

    I cant get it translated to Danish (da_DK)

    On my page type:

    [contact_form lang=da_DK]

    And i have checked that they are in the language root.

    I have also changed config to:

    define(‘WPLANG’, ‘da_DK’);

    All the fields are left empty when i am trying to change to it, can you help me here ?

    Thanks.

    Plugin Author bestwebsoft

    @bestwebsoft

    Hi Lasse,

    How to add the contact form not in English?

    Add a language in the block “Language settings for the field names in the form” on the plugin settings page.

    Mark the check box (if it’s not marked yet) in the block “Change the names of the contact form fields and error messages”, choose the necessary tab and fill in the fields. Choose the necessary tab in the block “Action after email is sent” as well and fill in the field. Save the changes.

    You will see the shortcode under the tab with the necessary language. Please paste that shortcode to the page or post.

    Sincerely,
    Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Language’ is closed to new replies.
Skip to toolbar