multilingual plugin is not creating output

Creating and modifying plugins.
Post Reply
RegineH
Regular
Posts: 8
Joined: Sun Nov 15, 2009 2:24 pm

multilingual plugin is not creating output

Post by RegineH »

Basically I like how the plugin is supposed to work, but it doesn't create any output. I can see the different language contents in the entry-overview, in the frontend the possibility to choose between languages is shown in the entry-footer, but when I click on the non-standard-language there are no contents shown.

I also can see the 2nd language contents in the database, but somehow it seems they're not transported to the template. Is there any configuration I should do in the template?

I installed s9y 1.4.1, at the moment it's for testing-purpose only, so the installation is somehow "off the peg" - I didn't configure much and also didn't install any plugins except the multilingual one. Also it's running with the default-template.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multilingual plugin is not creating output

Post by garvinhicking »

Hi!

Have you tried to see if it works when you browse your blog as a non-logged in user? That will then not force the locally selected language, it might be influencing here.

Can you show your URL where you see this behaviour so that we can have a look?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RegineH
Regular
Posts: 8
Joined: Sun Nov 15, 2009 2:24 pm

Re: multilingual plugin is not creating output

Post by RegineH »

Hi Garvin,

thx for your answer and good idea: but the logout doesn't make any difference.

As far as I could figure out by now it may be an issue related to the URL created or to some rewrite rules? The links behind the English/German-Option in the entry-footer don't specify the entry.

But feel free to look into it on http://bit-farm.org

THX, Regine
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multilingual plugin is not creating output

Post by garvinhicking »

Hi!

Yes, permalinks seem to be wrong. Which values did you enter? Serendipity needs you to use a prefix like /archives or /entries for a lot of features like the entry translation...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RegineH
Regular
Posts: 8
Joined: Sun Nov 15, 2009 2:24 pm

Re: multilingual plugin is not creating output

Post by RegineH »

Then the solution probably lies in not deleting the %id% out of the URLs?

Would it be possible to design the multiple language plugin in a way to not rely on those settings?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multilingual plugin is not creating output

Post by garvinhicking »

Hi!

No, it's unrelated to %id%. It's because of a directory path like /archives or /entry that is required.

Regards
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RegineH
Regular
Posts: 8
Joined: Sun Nov 15, 2009 2:24 pm

Re: multilingual plugin is not creating output

Post by RegineH »

I tried to change the settings but it's not working anyway. Would you mind telling me exactly what settings have to be chosen?
Since it's a testing installation I wouldn't mind sending you a pn with a password temporarily set for you.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multilingual plugin is not creating output

Post by garvinhicking »

Hi!

Every permalink path settings needs a path, and cannot be empty.

Whats your current config, tell me what you entered in each permalink pattern and permalink path input field.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RegineH
Regular
Posts: 8
Joined: Sun Nov 15, 2009 2:24 pm

Re: multilingual plugin is not creating output

Post by RegineH »

Hi Garvin,

you find my settings in the screenshot.

THX,
Regine
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multilingual plugin is not creating output

Post by garvinhicking »

Hi!

Hm, das ist echt komisch, ich verstehe nicht ganz warum der "/" am Anfang fehlt in dem Artikel-Permalink. Ich bin mir nicht mehr sicher ob das evtl ein Bug sein könnte der mit s9y 1.5 gefixt wurde. Hast du evtl die Möglichkeit das mal testweise drüber zu installieren?

Alternativ, könntest du evtl. mal versuchen das URL-Rewriting in der s9y Konfiguration zu aktivieren? Wenn es mit URL-Rewriting klappt, wäre das schonmal ein Anhaltspunkt...

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RegineH
Regular
Posts: 8
Joined: Sun Nov 15, 2009 2:24 pm

Re: multilingual plugin is not creating output

Post by RegineH »

Hi Garvin,

derzeit ist es so konfiguriert. Damit funktioniert es also nicht.
Klar, eine 1.5-Installation kann ich versuchen.

Grüße,
Regine
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multilingual plugin is not creating output

Post by garvinhicking »

Hi!

Öh, wenn es auf "mod_rewrite" steht, dürften aber nirgends link mit "index.php?/..." stehen, das "index.php" muss dann komplett verschwinden. Schau ggf. mal, wenn möglich, in der serendipity_config Datenbankspalte nach, ob da für den Wert bei "name=rewrite" tatsächlich auch "rewrite" als Wert drinsteht, und nicht etwa "none". Ggf. könnte es auch helfen das dropdown mal auf "Apache ErrorDocs" zu stellen (und zu speicher) und danach wieder zurück. Falls das beim umstellen probleme macht, notfalls die ".htaccess" ubmenennen/löschen.

GRüße,
gArvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RegineH
Regular
Posts: 8
Joined: Sun Nov 15, 2009 2:24 pm

Re: multilingual plugin is not creating output

Post by RegineH »

Hi Garvin,

ich hab jetzt mal 1.5 installiert --> gleiches Problem ... ich weiss echt nicht mehr, was ich noch machen soll.

Grüße,
Regine
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multilingual plugin is not creating output

Post by garvinhicking »

Hi!

Kannst Du nochmal einen Screenshot deiner URL- und Permalinkeinstellungen zeigen, und wie deine .htaccess aussieht?

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RegineH
Regular
Posts: 8
Joined: Sun Nov 15, 2009 2:24 pm

Re: multilingual plugin is not creating output

Post by RegineH »

Habe nun mit S9y 1.5.1 nochmal probiert: es geht in Standardinstallation, sobald ich %id%- aus den Permalinks nehme, geht es nicht mehr. Und: Trotz Einstellung der Standardsprache Deutsch wird 2x English als Sprachoption angezeigt.

Übrigens: Frohe Weihnachten :-)
Post Reply