Japanese Support?

ki

Joined: 2003-10-16
Posts: 26
Posted: Thu, 2003-10-16 15:41

hi,
im trying to get japanese language support going, so some users can use the gallery with japanese text/options.
so i added the drop box which can select the language, but even upon changing it to japanese, the display is still in english...
is something i missed?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2003-10-16 15:57

[moved to the translation forum]

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2003-10-16 19:56

Hi ki,

which version of Gallery ?
Can you give me an URL ?

Jens

 
ki

Joined: 2003-10-16
Posts: 26
Posted: Fri, 2003-10-17 01:09
 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2003-10-17 16:53

You meant 1.4pl2 :)

But the language thing is strange.
Can you give me a URL to a phpinfo of your server ?

Jens

 
ki

Joined: 2003-10-16
Posts: 26
Posted: Fri, 2003-10-17 17:39

hehe ok
hmm. hopefully this link will work:
http://bochibochi.com/gallery/setup/phpinfo.php

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2003-10-17 19:05

Hi,

OH... its NetBSD.
This is our problem child OS :((

Is it possible, that you give me Shell access to this ?

Jens

 
ki

Joined: 2003-10-16
Posts: 26
Posted: Sat, 2003-10-18 03:23

if you can tell me how to do it, i'll try ;)

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sat, 2003-10-18 16:02

If you feel comfortable doing so, send a Personal message to Jens with your account details, the FTP address, username and password. Then he can connect to your site and have a play with it.

If you have SSH or telnet access, even better and easier for him.

click "pm" at the bottom of Jens' posting.

 
ki

Joined: 2003-10-16
Posts: 26
Posted: Sat, 2003-10-18 17:46

joan: thanks! :)

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2003-10-18 21:31

Hi Ki,

i just installed 1.4.1-cvs ...
works perfect.
*dothe1.4.1dance*

See http://bochibochi.com/gallery-1.4.1/

Kick your 1.4 *g*
Just edit config.php of the 1.4.1 to your needs.
If you remove your gallery folder you can rename the gallery-1.4.1 to gallery...

Regards,

Jens

 
ki

Joined: 2003-10-16
Posts: 26
Posted: Sun, 2003-10-19 05:34

thanks Jens!
that worked!
BUT, some problems:

1) config process (when setting up gallery) is now displayed in funny characters. I can display it in Japanese ok, but no english!!

2) When viewing an image and trying to change language from that page, the following error appears:
ERROR: requested index [] out of bounds [9]
its ok on album pages, and main page. Just when viewing an image itself.

3) The EUC-JP encoding used by gallery is a bit of a problem, because when Japanese text is written (in comments or other things) it often seems to be encoded in SHIFT-JIS encoding. So as a result does not display correctly when the language is set to use EUC-JP.
I could see the text, by changing the browser encoding to SHIFT-JIS, but then all the interface (encoded with EUC) just became unreadable.
Im not sure how this can be fixed, since there seems to be some conflict between the 2 encoding methods...

anyway, thanks for your help
and the new version is really cool :)

 
ki

Joined: 2003-10-16
Posts: 26
Posted: Sun, 2003-10-19 06:52

Just an update:
the config now works in english! im not sure why it didnt before...
and the changing language problem seems to work for now too.
so thats all good.

there is still the problem with encoding however.
and additionally when i changed to the new version of gallery a problem appeared with uploading images.
this is the error:

/usr/pkg/bin/convert: Missing geometry (-geometry).

Status: 1 (expected 0)
Error: Unable to make thumbnail (0)!

perhaps imagemagik also needs to be updated?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2003-10-19 19:55

3.)
This is a encoding Problem and we dont have a real Solution for this yes.
The only good solution where to encode everything in UTF8. But then we cant use Gallery in *NUKE or phpBB ...

There was a bug in b173 ...
I updated your Gallery to b174.
Its not a ImageMagick thing.

Jens

 
ki

Joined: 2003-10-16
Posts: 26
Posted: Mon, 2003-10-20 03:40

Jens, thanks! ..but actually there is still the same error when im trying to use imagemagick.

also, couldnt you just include a shift-JIS encoded version and have it as an alternative which users could choose?
probably i dont know what im talking about, but it sounds good in my brain.. hehe

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2003-10-20 15:30

Hi,

ImageMagick: i tested and all works fine.

shift-JIS: Yes, that would be a possibility. YOU just signed as volunteer for this version :)

Jens

 
ki

Joined: 2003-10-16
Posts: 26
Posted: Mon, 2003-10-20 15:53

haha ok! :)
just tell me what to do... haha