language bug?

mmsht

Joined: 2006-06-29
Posts: 7
Posted: Thu, 2006-06-29 07:32

Hi,
i am new in forum and have limited knowledge.

upgraded to v1.5.3 by over old one. also properly put language pack into locale. There are 2 languages(one is Japanese and english) i can choose in the config wizard that has been done.

as i go my gallery site after that, there are character bugs in both language. does anyone know how do i fix this please?

Gallery URL (optional but very useful):http://questairgarden.com/v-web/gallery/albums
Gallery version:v1.5.3
Apache version:???
ISP:ipowerweb
PHP version (don't just say PHP 4, please):v5.1.4
Graphics Toolkit:ImageMagick 5.5.6
Operating system:FreeBSD 4.9
Web browser/version (if applicable): ie6.0.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2006-06-29 10:03

Hello,

This is no bug. At this Gallery translation report you can see that japanese language Pack is not completely translated.

Just update the translation. Use this G1 translation howto as help.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
mmsht

Joined: 2006-06-29
Posts: 7
Posted: Fri, 2006-06-30 04:16

Tim_j,

thanks for reply. understood this is no bug and not 100% translation into Japanese as i see report.

as i looked g1 translation howto help, but i cannot understand howto except downloadig 3 of .po file since i have poor knowledge. is there any more easy and understandable howto? or if not, do i fix those manually?

mmsht,

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2006-06-30 07:28

You downloaded the ja_JP languague pack, right ? There are the 3 .po files :)

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
mmsht

Joined: 2006-06-29
Posts: 7
Posted: Fri, 2006-06-30 08:06

thanks, Tim_j

yes i did downloaded ja_JP language pack. download 3 .po files in here and upload and overwrite to current .po files in mine, it this a way?

thanks

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2006-06-30 08:39

Hello,

thats just a part of it.

I dont think that the docu is so complicated....

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
mmsht

Joined: 2006-06-29
Posts: 7
Posted: Fri, 2006-06-30 10:05

Tim_j, very thanks.

in the G1 translation howto, i have done tranlation and fuzzy parts and create 3 of .po files begining with ja_JP-gallery_<componet>.po, then copy into locale/ja_JP. i think it was all right.

i have stopped at next things that copy .mo file into locale/ja_JP/LC_MESSAGES/. need to download 3 of .mo file via ViewVC?

thnks

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2006-06-30 10:29

I assume you are using poEdit to correct the translations.

When you save the .po files the .mo files are generated. You just need to rename them. Then you can upload them at the right place in your Gallery.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
mmsht

Joined: 2006-06-29
Posts: 7
Posted: Mon, 2006-07-03 07:18

Tim_j

thanks for your reply.
i have corrected JP translation and saved .po files by poedit. at the same time .mo files are generated.

then uploaded all .po files and generated .mo files into same location as they were(overwrote). but there are still something strange in characters.

Such as;
as i see my gallery under Japanese, some title of pictures have language bug.

do i done something wrong?

thanks

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2006-07-03 08:19

Hi,

i am not able to see your Gallery in japanese.

The titles are wrong ?!?! YOU enter the titles. They are not translated by Gallery.
Can you make a screenshot and mark what is wrong ?

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
mmsht

Joined: 2006-06-29
Posts: 7
Posted: Mon, 2006-07-03 09:02

Tim_j.

thanks for continuous help.

please see attachment.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2006-07-04 09:47

You are funny :)

How could Gallery translate your own titles ?
This is also no bug.

The reason is, that Gallery uses not a universal charset like UTF-8 for every language Pack.
So the original english is displayed in ISO-8859-1.

If you modified the ja_JP.utf8 langpack, then you can just easily do this change:
open nls.php in the main folder. Modify this line:

$nls['default']['charset'] = 'ISO-8859-1';

to

$nls['default']['charset'] = 'UTF-8';

If you modified the normal ja_JP langpack, then its more complicate ...

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
mmsht

Joined: 2006-06-29
Posts: 7
Posted: Tue, 2006-07-04 13:24

Tim_j

all right, thanks.

by the way, i have following message as i modify title of picture.

Warning: Invalid argument supplied for foreach() in /home/questair/.panel/web/gallery/captionator.php on line 78

i just wanna know what is going on.