|
|
|
#1

Dec 20, 2011, 11:08 AM
|
|
|
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.
|
|
#2

Dec 20, 2011, 11:26 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
Do you have the wp-config.php language option set?
|
|
#3

Dec 20, 2011, 11:30 AM
|
|
|
Yep, my entire blog is in swedish (including the dashboard), EXCEPT the comments.
|
|
#4

Dec 20, 2011, 11:42 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
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
|
|
#5

Dec 21, 2011, 10:57 AM
|
|
|
No, I mean the comment section which is generated by wordpress/atahualpa. Not the actual comments ofcourse.
Such as:
Leave a Reply
Name
Email
Website
Post comment
etc.
|
|
#6

Dec 21, 2011, 11:06 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
can you attach the po file you are using?
|
|
#8

Dec 22, 2011, 04:17 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
ok, in the po you have
HTML Code:
#: comments-paged.php:25
#: comments.php:26
#: legacy.comments.php:23
msgid "Ingen har kommenterat "
msgstr ""
and it should be
HTML Code:
#: comments-paged.php:25
#: comments.php:26
#: legacy.comments.php:23
msgid "No comments yet to "
msgstr "Ingen har kommenterat "
The 'msgid' is the text TO BE translated and the 'msgstr' is the TRANSLATED text
|
|
#9

Dec 22, 2011, 01:21 PM
|
|
|
|
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.
|
|
#10

Dec 23, 2011, 05:28 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
can you send me your latest po and mo files?
|
|
#11

Dec 23, 2011, 11:07 AM
|
|
|
|
|
|
#12

Dec 24, 2011, 04:59 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
The '.mo' file inthe atahualpa folder should be called 'sv_SE.mo' - sorry it took so long to spot this.
|
|
#13

Dec 24, 2011, 01:54 PM
|
|
|
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.
|
|
#14

Dec 24, 2011, 02:56 PM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
You do the language picked in wp-configuration.php right?
Off the air till Monday - merry christmas
|
|
#15

Dec 24, 2011, 03:24 PM
|
|
|
|
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.
|
|
#16

Dec 26, 2011, 05:31 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
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

if you would like I'll poke around in your site - send me a PM with an admin id/pw
|
|
#17

Dec 26, 2011, 01:52 PM
|
|
|
|
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.
|
|
#18

Dec 26, 2011, 07:07 PM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
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
sv_SE.mo.zip
|
|
#19

Dec 27, 2011, 11:10 AM
|
|
|
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.
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,
|
|
#20

Dec 27, 2011, 11:37 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
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...
|
|
#21

Dec 29, 2011, 07:11 AM
|
 |
|
|
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
|