Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#376 2007-09-11 20:09:19

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

Re: MLP - The Multi-Lingual Publishing Pack

jstubbs wrote:

Biggest issue apart from that for me is the sections and categories – if the main language is en-gb, then the translation fields for the other languages do not appear in the section tab.

I have the same problem. But it’s not only when main language is en-gb, it’s global problem doesn’t matter which language is main. I always have to write translation direct in database… :(

Offline

#377 2007-09-12 07:17:02

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

Re: MLP - The Multi-Lingual Publishing Pack

ruud wrote:

Does your txp_file table contain a column named ‘description’?

yes. yours doesn’t?

btw. my txp_file tabel looks like this:

field type null default
id int(11) No
filename varchar(255) No
category varchar(255) No
permissions varchar(32) No 0
description text No
downloads int(4) No 0
status smallint(6) No 4
modified datetime No 0000-00-0000:00:00
created datetime No 0000-00-0000:00:00
size bigint(20) Yes NULL
l10n_description_en_gb text No
l10n_description_de_de text No

Offline

#378 2007-09-12 08:49:20

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: MLP - The Multi-Lingual Publishing Pack

The problem is that you’re sorting on ‘description’, but since you’ve aliased l10n_description_en_gb as description in the SQL query, MySQL is not sure which description you mean.

Offline

#379 2007-09-12 08:53:15

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

Re: MLP - The Multi-Lingual Publishing Pack

alright, i thought that it would be something like that. but what do you mean by “you’ve aliased l10n_description_en_gb as description”? i am not sure how i did that :) meaning, is tht my fault, or is it mlp-packs fault :)

Offline

#380 2007-09-12 09:03:52

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: MLP - The Multi-Lingual Publishing Pack

select *,`l10n_description_en_gb` as `description` from txp_file

MLP does that, I think.

Offline

#381 2007-09-12 09:08:30

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

Re: MLP - The Multi-Lingual Publishing Pack

so, i can either sort my files not by description, or … ?

Offline

#382 2007-09-12 15:22:32

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

Re: MLP - The Multi-Lingual Publishing Pack

jstubbs wrote:

fuls, that’s the problem I see now too. I don’t think its been solved. One person posted a hack earlier in this thread, but it did not work for me. Biggest issue apart from that for me is the sections and categories – if the main language is en-gb, then the translation fields for the other languages do not appear in the section tab.In the categories tab (and in the images tab) the fields for the other language titles do appear, but after saving titles in the various languages, the titles do not appear. In all cases (as far as I can see), it appears the changes are written to the database though.

Yes, now I see it also.
There’s no section name for the en-gb, and also no page title. Is anybody working on this? Can we expect some fixes in near future?

Last edited by fuls (2007-09-12 15:23:06)

Offline

#383 2007-09-12 15:43:32

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

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?!

Offline

#384 2007-09-12 16:12:49

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

Re: MLP - The Multi-Lingual Publishing Pack

jmk wrote:

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 think this is a 4.0.5 specific problem because I had it working on 4.0.4

Offline

#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

Board footer

Powered by FluxBB