German "Umlaute" in G2

U.Haessler

Joined: 2004-03-12
Posts: 22
Posted: Mon, 2004-03-22 07:44

Hallo,

I installed G2 (march 17th ... I'm impressed) and it's stable and fast(!).
The only draw back: I don't see german Umlaute on titles and descriptions allthough the german translation files are working fine. Do you have any idea about it?

Is there a way to change the HTML markup ... e.g. another DOCTYPE and HTML-Tag?

Regards Ulrike

PHP Version 4.2.2
http://www.ulrike-haessler.de/gallery2/

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2004-03-22 10:14

Hi Ulrike,

my Name is Jens. I am responsible for all translation related things in G1.
I am not developing G2, but i made the current G2 german translation file.

Can you exactly tell me what you did ?
Also which browser on which OS you use.

Regards,

Jens

P.S.: Falls du möchtest, geht das ganze natürlich auch in deutsch, dann aber bitte per Mail. jens at peino . de

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2004-03-22 19:08
Quote:
Is there a way to change the HTML markup ... e.g. another DOCTYPE and HTML-Tag?

For this question, look in templates/global.tpl. This is the wrapper around all G2 pages.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2004-03-23 09:32

Hi Ulrike,

i did some Test on my G2 installation.
Everything worked fine.
My G2 is on a SuSE 9 with PHP 4.3.3.
On clientside i tested with NS7.1 and IE 6 on Windows XP

Gruß,

Jens

 
U.Haessler

Joined: 2004-03-12
Posts: 22
Posted: Tue, 2004-03-23 10:51

Hallo Jens,

translation files are fine – no trouble. Only information provided to an item by the user, e.g. title, description and user comments show up mal formed Umlaute.

I changed title and descriptions of items on the Mac (OS X 10.2/3 and 9.2.1) and on the PC (Windows MX and Windows 2000).

"Rückseite von Schloss Bloemersheim mit Teich und BootshðËuschen"

Using content type charset=iso-8859-1 does'nt help.

Sorry I insist on this boring peas: Besides the global html-wrapper there are more tags I would like to change: border=0 in img-Tags is depriciated in HTML 4 and we need accesskeys.

My Server is some Linux amdsim7, PHP 4.2.2

Ulrike

fyi: I published an article about online image databases in a german magazine (digit! ... for professional photographers ... www.digit.de) and it mentions gallery (1.4.2) besides commercial applications like Albinator, blue.media ....

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Tue, 2004-03-23 16:57
U.Haessler wrote:
Only information provided to an item by the user, e.g. title, description and user comments show up mal formed Umlaute.

I changed title and descriptions of items on the Mac (OS X 10.2/3 and 9.2.1) and on the PC (Windows MX and Windows 2000).

Malformed Umlauten? That shouldn't happen.

U.Haessler wrote:
"Rückseite von Schloss Bloemersheim mit Teich und BootshðËuschen"
Using content type charset=iso-8859-1 does'nt help.

"ü" is ü which are the raw binary values for the UTF-8 encoding of ü. Either Gallery is not properly translating the UTF-8 input into entities or UTF-8 encoded characters are being returned in an ISO-8859 workspace. Did you enter these values into a Gallery2 form or did you migrate a Gallery1 gallery?

Would it be possible to look at your Gallery2 installation? If you don't want to make your URL public, you may email me or pm me. Did you make any modifications? What browsers are you using? Are you using apache? What database are you using? What version is it?

Ich spreche nur wenig Deutsch, aber ich bin der Zar des UTF-8.

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Fri, 2004-03-26 17:35

I checked in a change last night that should fix things for users of php older than 4.3.0. Please let me know if it works for you. Thanks!

Yours in majesty and triumph,
Jesse Mullan
UTF-8 Czar

 
U.Haessler

Joined: 2004-03-12
Posts: 22
Posted: Sun, 2004-03-28 10:49
jmullan wrote:
I checked in a change last night that should fix things for users of php older than 4.3.0. Please let me know if it works for you.

Learned a lot about CVS this morning – but is there a client cvs-login for Gallery2?
Also tried the ...current.tar.gz and the ...27-03.tar.gz, but tar delivers an error message on untaring and stuffit as well.

Or where and how could I use the "galleryadd.pl"?

"Real Majesty is taking care of of the little dots"?

Deeply impressed. Ulrike

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Sun, 2004-03-28 20:50
Quote:
is there a client cvs-login for Gallery2?

You mean an anonymous login to cvs? Yes, there is.

Quote:
27-03.tar.gz, but tar delivers an error message on untaring and stuffit as well.

Did you try downloading from here?
http://www.fw2.net/files/gallery/
Did you try both the zip and the tar.gz versions?

Quote:
Or where and how could I use the "galleryadd.pl"?

You can use galeryadd.pl on Gallery1. You need perl and a handful of CPAN modules to run it.

 
U.Haessler

Joined: 2004-03-12
Posts: 22
Posted: Tue, 2004-03-30 07:23
Quote:
You mean an anonymous login to cvs? Yes, there is.

I replaced all gallery s by gallery2
cvs -d:pserver:anonymous@cvs.Gallery.sourceforge.net:/cvsroot/gallery login
but wasn't allowed to enter

Quote:
Did you try downloading from here?
http://www.fw2.net/files/gallery/
Did you try both the zip and the tar.gz versions?

Downloaded from http://jpmullan.com/galleryupdates/, tar.gz Versions only. Stuffit (it's the Mac's "Winzip") used to be unrelible on zips. I prefer tar on command line.
But there were no problems with the 29th-tar.gz.

But ... what I realy wanted to say: 12 dots and an "ß" say "Thank you Sire".
29th is up and Düsseldorf und Ulrike Häßler don't need aliases any more.

Ulrike Häßler
(actual stats: about 300 MB of picture data, about 1000 hits in about 10 days by about 40 people without any complains - nice test ... )

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Tue, 2004-03-30 17:15

cvs -d:pserver:anonymous@cvs.Gallery.sourceforge.net:/cvsroot/gallery login
cvs co gallery2

if you are using a nightly build from me, you might be able to go into that directory and just do
cvs update
because I'm pretty sure that I build it with the CVS stuff right in there

 
U.Haessler

Joined: 2004-03-12
Posts: 22
Posted: Wed, 2004-03-31 06:16

Ah ... that looks better.

I guess I'll let Gallery2 working for some week, before I take a look for the next step. I saw that every "current Version" was a notable step and somethink new or better (no more error messages on logout! and image blocks).

Now it's time to think about a little bit of personal design allthough I like the current design from Sparta.

I'll be back.

Ulrike