• Am using the Twenty Twenty theme and I want to add a translation to the text on the Page Comments form.

    Where can I find that template?

    TIA

Viewing 5 replies - 1 through 5 (of 5 total)
  • It’s either in the file comments.php or in a function called ‘twentyeleven_comment’ in functions.php

    And you can find both files here: wp-content/themes/twentyeleven/

    Thread Starter erding

    (@erding)

    Apologies the theme is Twenty Ten

    Have looked in both of those php files and I do not see the text that I want to translate:

    ‘Your email address will not be published. Required fields are marked’

    Are you running a local version of WordPress? Do you have a language specified; because both Twenty ten and Twenty eleven are available in +60 languages:

    http://codex.wordpress.org/WordPress_in_Your_Language

    Thread Starter erding

    (@erding)

    WP version is UK, but just want to translate ‘Your email address will not be published. Required fields are marked’ to also appear in Spanish.

    Woops, completely misread your for-last post:

    The ‘your emailaddress will not be published’-line is generated by the function comment_form in comments.php.

    Check out this page to change its parameters:
    http://codex.wordpress.org/Function_Reference/comment_form

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page comments template text’ is closed to new replies.