Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#1351 2009-08-04 23:49:09

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

Re: MLP - The Multi-Lingual Publishing Pack

For 4.0.8 you need mlp-0.9.11-gp-1138.zip, which can be downloaded from TXP Forge.

Offline

#1352 2009-08-05 15:22:04

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

Re: MLP - The Multi-Lingual Publishing Pack

Thank you very much. This fixed the issue. My complements, great work!!!

Offline

#1353 2009-08-26 22:45:18

LetterHoofd
Member
From: Kortrijk, BE
Registered: 2006-01-20
Posts: 40
Website

Re: MLP - The Multi-Lingual Publishing Pack

I’ve tried to use the following, but the active class doesn’t get used.

<txp:section_list default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="li" sections="about,activities,news,contact" active_class="selected">

Same goes for txp:category_list.

Offline

#1354 2009-08-27 08:51:33

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

Re: MLP - The Multi-Lingual Publishing Pack

Anyone using some of those category plugins with MLP? I’d like to list news categories which have some content, not empty ones. As with normal category list this is not possible, I tried cbs_category list. Works well until you notice you can’t set title=“1” attribute. So it doesn’t use translated category names…

If anyone is having a working solution already, it would be very nice to hear.

Edit. Just after calling Bloke to help with smd_if, I found a solution here

This is the code to output only active categories with translated titles:

<txp:category_list wraptag="ul" break="li">
<txp:variable name="hasarticles" value='<txp:article_custom category=''<txp:category />'' section="sectionyouwant" limit="1" />' />
	<txp:if_variable name="hasarticles" value="">
	<txp:else />
		<txp:category title="1" link="1" />
	</txp:if_variable>
</txp:category_list>

Provided by Els

Last edited by txpnisti (2009-08-27 10:03:45)

Offline

#1355 2009-08-27 17:35:47

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

Re: MLP - The Multi-Lingual Publishing Pack

LetterHoofd, are you using the section_list tag as a container tag? If so, can you post the entire container with it’s content? (If not, you didn’t close it properly: />.)

Offline

#1356 2009-08-27 17:47:19

LetterHoofd
Member
From: Kortrijk, BE
Registered: 2006-01-20
Posts: 40
Website

Re: MLP - The Multi-Lingual Publishing Pack

Els, I used it as a container tag.

<txp:section_list default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="li" sections="about,activities,news,contact" active_class="selected"> <txp:section link="1" title="1" /> </txp:section_list>

Offline

Board footer

Powered by FluxBB