Only parts of gallery2 gets translated
mvip
Joined: 2006-04-22
Posts: 4 |
![]() |
I just installed the latest version of Gallery2 (blackjack) on a new server running Gentoo. Everything works fine, except that when I choose a language (Swedish), only parts of tha page gets translated. The left menu-bar (add photo, album etc.) stay fixed in english. The main-part of the page does appear in Swedish, which I find quite weird. Anybody got a clue why this is? I've read about the localization thing, and yes, my system is running as us_EN I believe, and I really do now want to change that. Thanks for a great peice of software... mvip |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
Thats probably just because the swedish translation isn't complete. Since it works for some strings, that indicated that it's indeed working. You could always translate the rest for us, and submit it ;-) h0bbel - Gallery Team If you found my help useful, please consider donating to Gallery http://h0bbel.p0ggel.org |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Here are some docs to get you started: |
|
mvip
Joined: 2006-04-22
Posts: 4 |
![]() |
Hobel: Yeah, thats exactly what I though too, so I went into the translation-file to see if that was the case, but it turned out that it's not. These strings that won't get translated actually exists in the translation-file. |
|
stephenju
![]()
Joined: 2005-07-05
Posts: 172 |
![]() |
According to the localization report at http://gallery.menalto.com/localization/gallery2 Swedish has a pretty high percentage of completeness. So it's probably not the text not being translated. Did you try setting the default language? Just to see if that works. I also remember reading the same partial localized page somewhere but can't really find it now. It seems to have something to do with the server not having proper locale support setup. Maybe you will have better luck searching for it. Try 'locale -a' in the server command line. Does it list sv_SE and its variations? |
|
mvip
Joined: 2006-04-22
Posts: 4 |
![]() |
stephenju: bharat: |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Sorry for the delay in replying. This is odd -- it really should get localized for you. I'd like to investigate this in more detail -- any chance I can ssh to your box and examine what's going on under the hood? If so, private message me with the details. |
|
mvip
Joined: 2006-04-22
Posts: 4 |
![]() |
bharat, Here's something to get you started: server3 ~ # emerge info server3 ~ # emerge -p dev-lang/php apache mysql gettext These are the packages that I would merge, in order: Calculating dependencies ...done! server3 ~ # env server3 ~ # cat /etc/portage/package.use |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
hi, mvip. Something is misfiring with PHP's gettext implementation on your platform, but it's hard to tell what's going wrong without being able to reproduce and tinker with it. I'll see if I can find a similar configuration to experiment with -- sending you shell commands via the forums will take way too long :-/ |
|