LOCALES problem! Solution?!
joe7rocks
Joined: 2004-10-07
Posts: 560 |
Posted: Thu, 2004-10-07 15:39 |
Hi! ---- |
|
joe7rocks
Joined: 2004-10-07
Posts: 560 |
Posted: Thu, 2004-10-07 15:39 |
Hi! ---- |
|
Posts: 3474
Probably because the Hungarian translation is terribly out of date!
cf. http://gallery.menalto.com/modules/GalleryDocs/g1/localization.html
If you would like to help out with translation, please visit the Translation forums. We could use all the help we can get.
-Beckett (
)
Posts: 3474
Moving to translation forum for better visibility.
Posts: 560
NO!
It happens with ALL of the locales, .DE for example, etc.!
It should be something gallery/system specified problem/bug
But i found this error with couple of gallery users, posting all around the net, and no solution anywhere..
what the heck
Posts: 6818
HI
WHY DO YOU USE CAPITALS ?
_i_ personally dont like the use.
it make me think that YOUR problem is the BIGGEST. and YOUR gallery does NOT WORK at all. and Gallery coder are DUMP or something.
Okay, lets calm done.
You use Gallery 1.4.4.
But e.g. your de_DE langpack is 1_4_5-cvs
I suggest you use Gallery 1.4.4-pl2 with langpacks for 1.4.4-pl2.
On http://www.jems.de/gallery-1.4.4/tools/g1-report.php
you can see the Status of Gallery 1.4.4 translations.
Another thing is that you use PHP prior 4.2.0 (4.1.2)
The problem ist that PHP 4.1.2 does not support ngettext, which handles the new plurals in 1.4.4 and later.
I wrote a substituion function but in 1.4.4 is a bit poor as it only works for plural forms that are similar to english.
Othe languages, e.g. hungarian, chinese or russian use different plural (or no plural at all).
So in this cases the translation is still in english.
I hope this helps you.
Regards,
Jens
Posts: 560
1. The problem exists with 1.4.4-pl2 language packs too (an other installation)
2.So I should update php on the system to >1.4.2..
Im gonna try this.
thanks in advance
(sorry for capitals, but this "bug" was very flustsrating now
Posts: 560
1. The problem exists with 1.4.4-pl2 language packs too (another installation)
2.So i should update to php >4.2.0..i'm gonna try this.,.
thanks in advance
(0.sorry for capitals, this "bug" was very annoying, though tried everything to figure out what the hell can be..for long time now)
Posts: 6818
Hi,
yes, try to update to update to >= 4.2.0, with gettext.
Using a new Version without gettext would result in the same.
If you cant upgrade, then you need to wait till 1.4.5. I will make a better substitution for ngettext ;)
if you could upgrade, but it still does not work, please write again here.
For testing Gallery in Magyar go to http://www.jems.de/gallery-1.4.4/?newlang=hu_HU
Login as gallery/gallery.
Regards,
Jens
Posts: 15
Hello,
maybe it doesn't belong here, bu although I use php 4.3.9 and gallery 1.4.4-PL@ with latest lang pack for dutch I have strange translation
problems that I can't explain. e.g. 'This albums has been viewed 3 times' is translated in the PO file as:
'Dit album is %s bekeken' However when viewing my gallery the entire word 'bekeken' is lost. You can view it at: http://brankie.xs4all.nl/klokhuiscrea/gallery/index.php
Posts: 6818
Hello henkabma,
it looks like a cache problem on serverside or something. Or maybe something with Virtual Hosts. Because after reloading a few times it works fine here.
Jens
Posts: 15
Hello Jens,
after reloading it several more times, the problem reappeared. In the end I discovered that I was running php 4.3.8, because I hadn't restarted apache after installing 4.3.9.
After recompiling turck-mmcache for php 4.3.9 and restarting apache, everything seems fine all the time.
Thanks!
Henk,