Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1336 2009-06-22 12:49:44

txpnisti
Member
Registered: 2009-02-25
Posts: 23

Re: MLP - The Multi-Lingual Publishing Pack

Someone surely has asked this earlier, but thread being so long I can’t find any info: When having a large site with lots of articles and languages, it is sometimes difficult to keep articles sync after cloning: for example when changing article images or adding extra data with custom fields.

So would it be possible to do a plugin or write some php, which would know who is “parent” for the rendition being currently rendered, then look needed fields from the parent article. Possible, easy, hard? Please tell me as this would be very usefull… Would need to change those fields just in the parent article, and then renditions would follow.

Data would not be needed to be save in those translations tables. Just to show some data from original when rendering translation.

Offline

#1337 2009-06-22 15:35:26

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

Re: MLP - The Multi-Lingual Publishing Pack

Just so I know is it likely that MLP will be fixed for 4.0.9 svn or will we have to wait till the full release?

Thanks.

Offline

#1338 2009-06-23 11:55:00

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: MLP - The Multi-Lingual Publishing Pack

FireFusion wrote:

Just so I know is it likely that MLP will be fixed for 4.0.9 svn or will we have to wait till the full release?

@All: I have been taking a look at the 4.0.9 svn issues. I shall update the plugin asap

Offline

#1339 2009-06-23 13:04:24

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi Graeme,

it’s always a relief to see you around here :)
Please, while you are looking at the MLP code haystack, could you take a look at this issue between MLP and wet_haystack (wet says it’s something that has to be looked in MLP)?

Thank you very much for keep MLP going forward.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#1340 2009-06-23 23:27:54

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: MLP - The Multi-Lingual Publishing Pack

maniqui wrote:

it’s always a relief to see you around here :)
Please, while you are looking at the MLP code haystack, could you take a look at this issue between MLP and wet_haystack (wet says it’s something that has to be looked in MLP)?

And it’s good to be here – just sorry I’ve been quite recently. Anyhow… i’ve updated the 4.0.9 ticket and uploaded a test version. Please can people test with the current 4.0.9 svn version and leave feedback there and as always please make sure you backup before installing.

I have looked at compatibility with wet_haystack too – will have a fix for that at some point too. Maniqui could you open a ticket?

Last edited by graeme (2009-06-23 23:28:31)

Offline

#1341 2009-06-24 07:36:59

ultramega
Member
Registered: 2006-02-26
Posts: 221

Re: MLP - The Multi-Lingual Publishing Pack

I found only one older post about the error “Notice: Undefined index: l10n_request_uri in /var/www/fs1/3/…”

2009-01-17 19:29:36 curiouz wrote about
“Undefined index: l10n_request_uri in…

I get this occasionally too, also in otherwise working subfolder installation. When I looked the thing, I noticed: It shows when you are in debug mode and don’t have the language code in url currently shown:

http://www.test.txp/subfolder/site/articles/ | error
vs
http://www.test.txp/subfolder/site/en/articles/ | no error

Just for info, if this helps you guys (I doubt if this little piece of info was even unknown :) )

I have noticed that mlp works well when installed in subfolder and driven via subdomain, like http://here.ourdomain.com. If it is in subfolder and after normal domain, www.ourdomain.com/here/ – for example comments doesn’t work, but otherwise can work well enough.

Offline

#1342 2009-06-24 09:12:50

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: MLP - The Multi-Lingual Publishing Pack

ultramega wrote:

I found only one older post about the error “Notice: Undefined index: l10n_request_uri in /var/www/fs1/3/…”

Not sure whats going on with this one and I can’t reproduce it. Could you please edit the installed plugin as follows to enable some debugging which may help me track the problem down.

Change (on line 91):

$debug = (0) && (@txpinterface === 'public');

To:

$debug = (1) && (@txpinterface === 'public');

Please email me the output. Thanks

Offline

#1343 2009-07-07 12:48:13

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

Re: MLP - The Multi-Lingual Publishing Pack

I’m sorry if this has been asked/answered before. I am having problem with comments, they are visible only in one language (in the language that user has submit the comment).
Is there any solution?

Thank you!

Offline

#1344 2009-07-07 14:14:51

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

fuls wrote:

I’m sorry if this has been asked/answered before. I am having problem with comments, they are visible only in one language (in the language that user has submit the comment).

Hi Fuls, sorry but that’s the way I designed it to work; with, for example, German comments only appearing on the German rendition of an article.

The idea being that an article is a collection of renditions into individual languages. Comments are then made upon each individual rendition in a given language. This model doesn’t accommodate any kind of comment across the collection of renditions itself.

Last edited by net-carver (2009-07-07 15:04:45)


Steve

Offline

#1345 2009-07-13 22:07:39

beamish-nephew
New Member
From: Belgium
Registered: 2009-07-13
Posts: 3
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi net-carver,

I’ve just installed MLP on a FR-EN test site (linktext) and it worked perfectly until I’ve hit the “view site” link : it displays a 404-Not Found.
The default URL has changed (it shows a /fr at the end). I only get the home page back when I type www.machinmachin.be/index.php. Though, every link on the page shows now a /fr/ which leads to a 404 as well.

Any clue about what I could do to fix this?

Great work anyway. Native Textpattern should come with it.

Offline

#1346 2009-07-21 14:55:22

Cedric
Archived Plugin Author
From: Germany
Registered: 2009-05-26
Posts: 13
Website

Re: MLP - The Multi-Lingual Publishing Pack

Here’s a small fix if you’re trying to use l10n_inject_lang outside of an individual article (e.g. in an article list).
Alter the php function l10n_inject_lang()

Replace:

$lang = l10n_rendition_lang();

With:

$lang = (l10n_rendition_lang()) ? l10n_rendition_lang() : l10n_get_lang();

Hope this helps :)

Cheers,

Cedric

Offline

#1347 2009-07-24 16:42:03

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

Re: MLP - The Multi-Lingual Publishing Pack

Hi, anybody having problems with categories not showing up in one language? I just added several image categories and although they show fine with the admin interface in French, they just show as Untitled in English…
Using the latest version of MLP + Gerhard Lazu’s custom version of Textpattern 4.0.8 (for glz_custom_fields)… Could there be a conflict between the two?

====

Looking at the database, it’s the l10n_title_en_gb and l10n_title_ fileds that stay empty (and that don’t appear anymore when creating the categories). I can add them manually in the database, but it’s a bit time-consuming :-P

Thanks,
B.

Last edited by ploinkr (2009-07-24 17:08:41)

Offline

#1348 2009-08-02 18:55:10

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

Re: MLP - The Multi-Lingual Publishing Pack

Graeme, Filip:

Testing Graeme’s updated version 0.9.12-gp with Txp 4.2.0-rc1. I see a couple of minor issues, but I’m not sure if they are related to the txplib_db.php file, for which Filip added a patch (same TXP Forge page). I didn’t apply the patch yet, so it’s possible that it will solve the issues.
Is there an easy way to merge the patch with the original file, or should I just cut, copy & paste and keep my fingers crossed? ;)

ploinkr wrote:

Using the latest version of MLP

Are you sure you are using this one: mlp-0.9.11-gp-1138.zip from here? Because your problem happened in an earlier version.

beamish-nephew

Are you still having the problem? I can’t detect a MLP site using your link…

Offline

#1349 2009-08-04 09:04:39

beamish-nephew
New Member
From: Belgium
Registered: 2009-07-13
Posts: 3
Website

Re: MLP - The Multi-Lingual Publishing Pack

Are you still having the problem? I can’t detect a MLP site using your link…

Hi Els,
I’m sorry. I was in a hurry and couldn’t afford the time to make checks and debugs. I re-installed the whole site without MLP.
I’ll try to install it again later.

Thank you & thanks to Cedric as well

Offline

#1350 2009-08-04 23:37:24

carsteniq
New Member
Registered: 2009-08-04
Posts: 2

Re: MLP - The Multi-Lingual Publishing Pack

First, I’m a complete NOP to textpattern. I heard a lot of good things about it and like to give it a try. I did install MLP but it seams to work only partially.
Presentation -> Section and Content -> Categories don’t give me the multi language field to input. I have tried to reinstall various times but it comes down to the same.
Any idea what could cause this to happen?

I use currently mlp-0.9.11 and textpattern-4.0.8

Offline

Board footer

Powered by FluxBB