|
#1
Dec 20, 2011, 12:08 PM
|
|
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, 12:26 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Do you have the wp-config.php language option set?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Dec 20, 2011, 12:30 PM
|
|
Yep, my entire blog is in swedish (including the dashboard), EXCEPT the comments.
|
#4
Dec 20, 2011, 12:42 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
Dec 21, 2011, 11: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, 12:06 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
can you attach the po file you are using?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#8
Dec 22, 2011, 05:17 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9
Dec 22, 2011, 02: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, 06:28 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
can you send me your latest po and mo files?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#11
Dec 23, 2011, 12:07 PM
|
|
|
#12
Dec 24, 2011, 05:59 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
The '.mo' file inthe atahualpa folder should be called 'sv_SE.mo' - sorry it took so long to spot this.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#13
Dec 24, 2011, 02: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, 03:56 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
You do the language picked in wp-configuration.php right?
Off the air till Monday - merry christmas
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#15
Dec 24, 2011, 04: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, 06:31 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#17
Dec 26, 2011, 02: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, 08:07 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#19
Dec 27, 2011, 12:10 PM
|
|
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, 12:37 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#21
Dec 29, 2011, 08:11 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
|