Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#385 2007-09-12 16:50:36

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: MLP - The Multi-Lingual Publishing Pack

yes, i can see the problem here, too. is it a txp 4.0.5 specific problem? or does it happen in txp 4.0.4 also?
i can confirm, though, that the table “txp_prefs” is updated correctly and holds the correct language in the “language” field. so it seems as if the mlp-pack assumes the language to be stored elsewhere?!

I can confirm it’s only problem with 4.0.5. TXP 4.0.4 hasn’t this problem.

Offline

#386 2007-09-13 07:37:28

jmk
Member
Registered: 2006-09-04
Posts: 49

Re: MLP - The Multi-Lingual Publishing Pack

hmm, i just did a test-install: fresh 4.0.5, only mlp-pack as plugins, nothing else. the problem is there. so if anybody has an idea where we can start digging, i have a test-installation to try a fix on …

Offline

#387 2007-09-13 07:44:24

jmk
Member
Registered: 2006-09-04
Posts: 49

Re: MLP - The Multi-Lingual Publishing Pack

can somebody confirm:

when you hit “save” in the mlp>preferences tab, you get incomplete html (which is printed as html in firefox and not rendered)

the changes are being stored, though.

—-

what i tried:

adding a third language and changing to it: same error
when i change the default language (change the order of the languages in the mlp>preferences tab): you sitll end up with english as the frontend language (and the language in the drop-down selector box in the upper right corner), but in the sections-tab the “new”-default language is now visible (instead) but all the others remain hidden.

Last edited by jmk (2007-09-13 07:50:38)

Offline

#388 2007-09-17 09:26:28

jmk
Member
Registered: 2006-09-04
Posts: 49

Re: MLP - The Multi-Lingual Publishing Pack

here my latest findings to the “language problem”:

  • the backend-language seems to be the default language of the browser (which you can change in firefox with a plugin, or in Advanced>Language>choose). and it doesn’t matter what you select in the admin tab.
  • if you change the section title in one language, this change is written to the database into the fields title and the current “active” language field (l10_title_*lang*) (not backend-lang). that would be alright, but the thing is, that all the other language fields are then emptied.

maybe that is a hint where we can start looking?!

EDIT: mix up in frontend/backend

Last edited by jmk (2007-09-17 11:11:16)

Offline

#389 2007-09-17 09:52:54

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: MLP - The Multi-Lingual Publishing Pack

jmk wrote:

the frontend-language seems to be the default language of the browser (which you can change in firefox with a plugin).

You can change it without a any plugin in Firefox, in advanced options tab. And if it’s enabled, firefox will choose the language for you automaticaly, not for others. It also limits languages that can be chosen, if you can chose any other than the default.

Cheers!

Last edited by Gocom (2007-09-17 09:53:57)

Offline

#390 2007-09-17 09:53:11

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: MLP - The Multi-Lingual Publishing Pack

jmk wrote:

  • the frontend-language seems to be the default language of the browser (which you can change in firefox with a plugin). and it doesn’t matter what you select in the admin tab.

Yes, but what about backend (admin) language? That has nothing to do with firefox plugin.

Offline

#391 2007-09-17 11:09:06

jmk
Member
Registered: 2006-09-04
Posts: 49

Re: MLP - The Multi-Lingual Publishing Pack

what i meant was the backend language. sorry for the confusion.

and gocom is of course right, you don’t have to get the firefox plugin to change your default language.

so if you want it to change to Italian, you have to have Italian [it] in the Advanced Options > General > Language (choose) box at the top. AND you have to delete your cookies.

Last edited by jmk (2007-09-17 13:32:14)

Offline

#392 2007-09-18 21:18:32

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: MLP - The Multi-Lingual Publishing Pack

jmk wrote:

what i meant was the backend language. sorry for the confusion.
and gocom is of course right, you don’t have to get the firefox plugin to change your default language.
so if you want it to change to Italian, you have to have Italian [it] in the Advanced Options > General > Language (choose) box at the top. AND you have to delete your cookies.

It doesn’t work for me. After I delete the cookies it logs me out of the system and when I log in again the english language is back.

Last edited by fuls (2007-09-18 21:18:51)

Offline

#393 2007-09-19 07:10:50

jmk
Member
Registered: 2006-09-04
Posts: 49

Re: MLP - The Multi-Lingual Publishing Pack

can you please take this test and tell us what values you have in the HTTP_ACCEPT_LANGUAGE field?!

Offline

#394 2007-09-19 08:28:48

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: MLP - The Multi-Lingual Publishing Pack

HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5

Offline

#395 2007-09-19 09:41:27

jmk
Member
Registered: 2006-09-04
Posts: 49

Re: MLP - The Multi-Lingual Publishing Pack

AHA :) well, then the backend will only display in english. if you want another language, you have to follow these steps.

if you like the backend to be displayed in italian for example, your HTTP_ACCEPT_LANGUAGE should have it;q=0.5 at the beginning.

Last edited by jmk (2007-09-20 06:59:30)

Offline

#396 2007-09-19 21:11:25

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: MLP - The Multi-Lingual Publishing Pack

Thanks jmk! Now it works:).

Offline

Board footer

Powered by FluxBB