Can't translate comment_form.php
I've tried in every way I can imagine to translate the comment_form.php-file.
* I've used poedit and it works for the rest of the site, but not comment_form.php * I've created a child theme and uploaded the translated comment_form.php but noting happens. The only way I make it work is if I translate it in the parent theme, but then I'll have to redo it with every update and I would be really happy if I that could be avoided! Anyone knows how to do it? :) |
url pointing to the issue?
|
|
looks like that never made it into the po file. you will need to edit montezuma/includes/template-tags.php line 8
HTML Code:
printf( _n( 'One comment on “%2$s”', '%1$s more thoughts on “%2$s”', get_comments_number(), 'montezuma' ), |
Yes, but if I translate it and upload to my child theme the changes doesn't override the montezuma theme like they should. Any idea of how I can change it without changing in the parent theme?
|
For now you will have to edit the actual theme file. I've sent a note to the developer asking that this get added to the PO file for the next release.
|
I discovered an error. You should be able to put your translated comment(s) titles at mto->Comments->Comments Titles, but there was some missing code that ended up ignoring these titles. To fix this,
edit '/includes/template_tags.php' and change line 8 (version 1.1.9) from HTML Code:
printf( _n( 'One comment on “%2$s”', '%1$s more thoughts on “%2$s”', get_comments_number(), 'montezuma' ), HTML Code:
global $montezuma, $comment; If it works I'll write up a patch for the next release. |
Quote:
|
translate the 'Leave a Reply' in the PO file
|
All times are GMT -6. The time now is 01:59 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.