Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1321 2009-05-25 22:01:10

bartekk
Member
Registered: 2004-11-09
Posts: 57

Re: MLP - The Multi-Lingual Publishing Pack

Hi.

I like this plugin very much and it works fine. The one thing I can’t localise are the section and category titles and all other descriptions and captions. I can only see the default language. Is it a bug or should I enable somewhere this feature?

Thanks.

Offline

#1322 2009-05-25 22:09:27

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

I think you don’t have the most recent version (that works with Txp 4.0.8). Download mlp-0.9.11-gp-1138.zip here.

Offline

#1323 2009-05-25 22:21:08

bartekk
Member
Registered: 2004-11-09
Posts: 57

Re: MLP - The Multi-Lingual Publishing Pack

thx. it works.
I had the latest version from netcarvers page.

Offline

#1324 2009-05-31 13:05:48

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi, I’d like to ask if somebody can help me with I think very easy thing, but I cannot find in code where it change…
It’s about user-permission… I asked for this Graeme some months ago, when I want to show in MLP – Articles table only articles from specific section, but it looks its too hard to do right now.

But for my purpose I found easy solution, when I change default URL in MLP tab, so I need change in code url from this:

<a href="index.php?event=l10n">MLP</a>

to this:

<a href="index.php?match_section=news%2Ccontacts&event=l10n&tab=article&search=OK">MLP</a>

And then I just hide search/filter form, and there will be only articles from this two sections.

Will you help me, please, someone? ;) I searched down the whole code, but didn’t find where do I change it.

Offline

#1325 2009-06-12 10:47:08

flatazor
New Member
Registered: 2007-05-02
Posts: 5

Re: MLP - The Multi-Lingual Publishing Pack

Hello,

I recently upgraded from TXP 4.0.4 to 4.08, and re-installed MLP as indicated. Aside from minor glitches during the upgrade, everything went well. The only thing I can’t seem to resolve is the display or ‘recent_articles’ or ‘related_articles’ tags; The debugger gives me the following:

Tag error: <txp:recent_articles label=“Recent works:” labeltag=“h4” section=“projects” limit=“5” break=“li” wraptag=“ul” /> -> Textpattern Warning: Unknown column ‘Expires’ in ‘where clause’
select *, id as thisid, unix_timestamp(Posted) as posted from l10n_txp_en_gb where Status = 4 and Section IN (‘projects’) and Posted <= now() and (now() <= Expires or Expires = ’0000-00-00 00:00:00’) order by Posted desc limit 0,5
textpattern/lib/txplib_db.php:255 startrows() on line 110

the article list doesn’t show up. Any suggestions?

Thanks

Offline

#1326 2009-06-12 15:55:18

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

flatazor
It looks like the ‘Expires’ column (added to the textpattern table somewhere around 4.0.7) was not added to the l10n language tables.
Did you upgrade Txp with MLP’s (modified) txplib_db.php in the /lib/ directory? The upgrade probably needs the original Txp core file, so it should not be replaced until after the upgrade.

Offline

#1327 2009-06-18 15:53:29

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi,

Does anyone use the comments functionality on a TXP+MLP site?
Any particular step to make it work?

I’m seeing that the value on action attribute in the comments form isn’t including the lang chunk (/en/, /es/). Thus, it works for the default language (en) but returns a 404 on the other language (es).


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#1328 2009-06-18 16:13:53

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: MLP - The Multi-Lingual Publishing Pack

Ok, “my” fault.. (well, helped by some kind of bug, imho).

When you navigate an MLP site, I believe MLP stores a session cookie to remember which language are you browsing.
Because I’m developing the site, I usually have both languages open in different tabs.
Last language/page I browsed was /en/ page.
Then, in another tab, I had the comment form in an /es/ page already opened. When hitting the “Preview” button on that form, it led to a 404 page…

Visiting an /es/ page “fixed” the issue…

BTW, I’ve also tried wrapping the form in txp:l10n_inject_lang to force the action url to include the lang chunk, but it didn’t work (it didn’t include the lang chunk on the output).


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#1329 2009-06-18 21:09:58

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

Probably related: zcr shows the same behaviour, after submitting the contact form the language marker in the URL is gone. I can live with that because it’s still showing the right page and the thank you message in the right language. I posted about this ‘somewhere’ in this thread… can’t find it of course… IIRC Steve replied, but I don’t remember what he said :(

Offline

#1330 2009-06-19 07:48:52

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: MLP - The Multi-Lingual Publishing Pack

Does MLP work with the latest SVN of 4.0.9?

Offline

#1331 2009-06-19 11:21:33

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

FireFusion wrote:

Does MLP work with the latest SVN of 4.0.9?

I’m still planning to test that, haven’t had much time lately. I’ll post here as soon as I know more…

Offline

#1332 2009-06-19 12:46:32

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

Re: MLP - The Multi-Lingual Publishing Pack

MLP 0.9.11 and latest SVN doesn’t work perfect. There are (at first sight) mistake there where some times before 4.0.7 – missing columns in DB – when I add “english” translation (czech is default) – in txp_section table is missing: l10n_title_en_gb (l10n_caption_en_gb, l10n_alt_en_gb for txp_image and l10n_title_en_gb for txp_category).

And on frontpage of MLP tab is this notice:
Undefined variable: article_list_pageby in /home/webarteu/public_html/txp.cz/textpattern/lib/l10n_admin_classes.php on line 4369

Last edited by beztak (2009-06-19 12:47:25)

Offline

Board footer

Powered by FluxBB