我不知道如何翻译我用作注释表单占位符的文本。我的函数中有一个函数。php文件,其中定义了注释表单的外观。下面是该代码的示例:
$fields = array(
\'author\' => \'<p class="comment-form-author">\' .
\'<input id="author" name="author" placeholder="Name" type="text" required value="\' . esc_attr( $commenter[\'comment_author\'] ) . \'" size="30"\' . $aria_req . \' />\',
\'email\' => \'<p class="comment-form-email"> \' .
\'<input id="email" name="email" placeholder="E-mail" type="text" required value="\' . esc_attr( $commenter[\'comment_author_email\'] ) . \'" size="30"\' . $aria_req . \' /></p>\',
\'url\' => \'<p class="comment-form-url">\' .
\'<input id="url" name="url" placeholder="Website" type="text" value="\' . esc_attr( $commenter[\'comment_author_url\'] ) . \'" size="30" /></p>\',
);
你能帮帮我吗?