Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#625 2008-02-12 07:55:58

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: MLP - The Multi-Lingual Publishing Pack

Thanks for helping, but I am working on a local server on my computer.
In mysql there is only one user, the root one, which if I’m not wrong, should have all permissions. The user in my config file is root. And with that user I instaled txp, which should mean that it can create tables, becouse everything is working.
edit:
just checked: show grants for root@localhost;
it has all privileges as it supposed to.

Last edited by AndrijaM (2008-02-12 08:09:55)

Offline

#626 2008-02-13 17:44:15

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: MLP - The Multi-Lingual Publishing Pack

Well, I dont know why this was not working, but after instaling apache, mysql and php with xampp, now instalation of mlp went well.
But I do have the following issue:

when I put <txp:l10n_lang_list /> on home page, a get a list of 3 different languages. I cloned one article on every three languages, just to have some article.
But, after clicking on some other languages I get the following error:

Object not found!

The requested URL was not found on this server… and something more.

What am I missing now?

Offline

#627 2008-02-13 20:08:40

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: MLP - The Multi-Lingual Publishing Pack

AndrijaM wrote:

when I put <txp:l10n_lang_list /> on home page, a get a list of 3 different languages. I cloned one article on every three languages, just to have some article.
But, after clicking on some other languages I get the following error:

What am I missing now?

There is actually nothing wrong with it. The Idea behind this from Steve’s side was, to not display lang list link items, in cases, where there is no localized content available.

So for instance, let’s say, you have set up three languages, and you had cloned into the other two without setting to live, the default behavior, is to not output any links and in case the URL get’s requested to generate a 404 Pageheader.
(URL only titles should also be changed for each localized version)

May be I misunderstood something about what you meant?

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#628 2008-02-14 10:51:25

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: MLP - The Multi-Lingual Publishing Pack

Ok now, something is definitly not wright, becouse I did everything like in the 23 min admin demo. I even used the same languages english and greek, and again there’s something with the urls:

Object not found!
The requested URL was not found on this server…

Also, I tried with messy urls and with section/title – same thing again.

I have cloned the default article that comes with txp instaltation, and put it in status live, no draft.
Also, I am using the 4.0.6 version maybe its got something to do with that? And I’m on the local server using xampp.

(URL only titles should also be changed for each localized version) they are changed.

Any suggestions?

Last edited by AndrijaM (2008-02-14 11:02:52)

Offline

#629 2008-02-14 18:15:14

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

Re: MLP - The Multi-Lingual Publishing Pack

AndrijaM wrote:

I am using the 4.0.6 version maybe its got something to do with that?

See here

Offline

#630 2008-02-16 22:53:38

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

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote about MLP and 4.0.6 compatibility:

not asked before (I think) and not yet.

I’ve compared 4.0.5 txplib_db.php (rev. 2406) and 4.0.6 txplib_db.php (rev. 2784). There are just minor changes.

Also, I have been looking for differences between MLP txplib_db.php (based on rev. 1879) and 4.0.6 txplib_db.php (rev. 2784). There aren’t too many differencies, aside from those introduced by MLP and those between 4.0.5 and 4.0.6 versions of that file.

So, the question is: if I just merge the changes on MLP txplib_db.php version with 4.0.6 version of the same file… would that just be enough to make MLP compatible with 4.0.6?

Or there are other major things I’m ignoring?

I guess I will have to try! I’ll come back and report.

Last edited by maniqui (2008-02-16 22:55:35)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#631 2008-02-17 04:14:01

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

Re: MLP - The Multi-Lingual Publishing Pack

BTW, a feature request:

is there any chance to have an <txp:l10n_if_article_lang> conditional tag?
I’m thinking in some cases where <txp:l10n_if_lang> won’t be enough. Example: Postmaster plug-in uses a form (one per list of subscribes) to render the e-mail that will be sent. So, a conditional tag will help to send e-mails in different languages (if article is written in spanish, send the e-mail in spanish; if it’s written in english, send it in english).

Does this makes sense?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#632 2008-02-21 17:43:29

pablopivetta
New Member
Registered: 2008-02-21
Posts: 2

Re: MLP - The Multi-Lingual Publishing Pack

Hi,
the MLP works fine with rss_unlimited_categories, except for the rendition of localized category names in the admin area.

It would also be nice to get stw_category_tree to output localized category names in the menu urls (apart from that, all is fine here too)

Can anyone point me in the right direction for the above?

I’m a bit lost here… I already read this post , but I’m not familiar enough with the internals op txp to fully understand the examples…

I’m just a designer with a quite limited knowledge of php & textpattern you know :)

Anyways:
Every time I make a new site with Textpattern I’m amazed by it’s power and flexibilty.
Great plugins too!

Offline

#633 2008-02-26 11:31:14

panik
Member
From: Bonn, Germany
Registered: 2005-08-13
Posts: 13

Re: MLP - The Multi-Lingual Publishing Pack

Hi,
ist it possible to disable the language detection on the public site? there is no content in the secondary language at the moment, and i want to prevent users form seeing empty pages.
thanks,
jonas

Last edited by panik (2008-02-26 11:32:06)

Offline

#634 2008-02-27 11:18:08

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

Re: MLP - The Multi-Lingual Publishing Pack

Any hope for a 4.0.6 version? Or a least to know it’s in the works.

Offline

#635 2008-02-27 12:30:07

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

Re: MLP - The Multi-Lingual Publishing Pack

I run latest MLP with TXP 4.0.6 on 3 website at this time and everything works well.

Offline

#636 2008-02-27 17:15:37

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

Re: MLP - The Multi-Lingual Publishing Pack

Hey, Beztak, good to read you have MLP working on 3 TxP 4.0.6 website.

You didn’t need to touch anything?

Or better asked: did you keep txplib_db.php?

Because 4.0.6 txplib_db.php doesn’t include the MLP needed code. I just finished merging differences between MLP txplib_db.php and 4.0.6 txplib_db.php. Haven’t tested it yet.

Also, did you need to add (to the plug-in code) something related to the tabs? I understand that 4.0.6 requires to add to plug-ins some code related to privilegies and tabs, but not sure if this applies to MLP tabs.

Thanks


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB