[SOLVED] Can't translate comments
Hello,
I have the exact same issue as in thread http://forum.bytesforall.com/showthread.php?t=15839 (though that thread is closed). I've done all the steps, such as downloaded the atahualpa.pot file, translated it, and then uploaded it in my atahualpa-folder. Everything is still in english. I tried translating it directly in the comments.php-file, and it STILL is left untranslated. Downloaded a fresh comments.php, no dice. This seems to have stopped working with either the latest Atahualpa version or the latest Wordpress version (I updated them both at the same time). Am I missing something? I am using Atahualpa 3.7.3. |
Do you have the wp-config.php language option set?
|
Yep, my entire blog is in swedish (including the dashboard), EXCEPT the comments. :)
|
do you mean teh literal 'comments' or the actual comments people enter? (just want to make sure we are talking about the same thing) - the comments people enter will never be translated
|
No, I mean the comment section which is generated by wordpress/atahualpa. Not the actual comments ofcourse. :)
Such as: Leave a Reply Name Website Post comment etc. |
can you attach the po file you are using?
|
Surelydiddely! I added both the atahualpa one and the wordpress one. Though I wasn't allowed to upload them as attachments, hopefully you can download them here:
http://www.2shared.com/file/UG2q9Nm_/atahualpa.html http://www.2shared.com/file/10dss7C0/sv_SE.html Thanks. |
ok, in the po you have
HTML Code:
#: comments-paged.php:25 HTML Code:
#: comments-paged.php:25 |
Thanks! I had it wrong there. I corrected everything, saved it, uploaded and overwrote the old atahualpa.pot in the themes/atahualpa-folder. It STILL doesn't work though. I'm not sure what I'm missing.
Now it looks like this in the .pot: #: comments-paged.php:164 #: comments.php:124 #: legacy.comments.php:149 msgid "Leave a Reply" msgstr "Kommentera" Just in case, I downloaded a fresh comments.php and overwrote that too. No dice. I also refreshed my cache for my browser and for wordpress. |
can you send me your latest po and mo files?
|
Absolutely. Here are the latest files as they are now:
atahualpa.mo http://www.2shared.com/file/hQMqQDCA/atahualpa.html atahualpa.pot http://www.2shared.com/file/sOfZAfvw/atahualpa.html sv_SE.po (for wordpress itself) http://www.2shared.com/file/n45WEIuN/sv_SE.html Thanks! |
The '.mo' file inthe atahualpa folder should be called 'sv_SE.mo' - sorry it took so long to spot this.
|
Hmm, I must be cursed or something. It still doesn't work! Do I need to do anything in my code or settings for this?
I renamed the atahualpa.mo to sv_SE.mo, so now I have sv_SE.mo and atahualpa.pot in the atahualpa-folder. As usual, I refreshed the cache in my browser and in wordpress. Merry christmas btw. :) |
You do the language picked in wp-configuration.php right?
Off the air till Monday - merry christmas |
Hmm, not sure what you mean by that. But if you're referring to wp-config.php in my wordpress-folder, yes, both are sv_SE there. For wordpress, everything works, and is translated into swedish. But for the atahualpa part, nothing translation-wise is working.
Dunno what fundamental setting I'm missing here. |
1 Attachment(s)
This is odd
- I took the sv_SE.mo you sent and put it in wp-content/languages - took the atahualpa.mo renamed it to sv_SE.mo and put it in the wp-content/themes/atahualpa folder set "define ('WPLANG', 'sv_SE');" in wp-config Now when I do to my site this is what I see on the comments Attachment 1695 if you would like I'll poke around in your site - send me a PM with an admin id/pw |
That's really odd... Either it's something I've missed in the configuration, or otherwise there must be something really weird with my entire installation.
Anyway, I sent you my login details. |
1 Attachment(s)
Ok, this is weird. Just for chuckler please try this se_SV.mo - it is the one you sent me and it is working, just want to make sure there wasne a duplicate mo hanging arround
Attachment 1696 |
Nope, still nothing. :(
I downloaded that .mo and changed to it. Nothing. I downloaded a fresh copy of Atahualpa, changed only the most noticeable phrases, switched to the new theme, deleted cache as usual, and it STILL doesn't work. Then I copied the .mo and .pot and put it in a fresh copy of Atahualpa and put THAT in a test-account I have on my server (http://testblogg.danielwerner.se). To be sure, I reset all theme options to default (via the button in the atahualpa settings). And it still doesn't work. So, there shouldn't be something wrong with my settings at least. And my .mo and .po for the Wordpress-installation should be fine too since those phrases don't affect comments. :confused: Juggledad, could you please attach the .mo and .po which you used on your test-site when it showed swedish (as your printscreen showed)? And also exactly where you put them. And if you did anything else. Just to make sure I don't miss anything trivial here. :) Thanks, |
I don't have a .po since you never sent one and tne .mo is the one you sent me that I sent back.
let me take another look at the site... |
The problem was with the .mo, there were two of them one right, one wrong. Once they used the 'correct' one the translations are working.
|
All times are GMT -6. The time now is 02:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.