Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1717 2011-03-04 11:25:05

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

Re: MLP - The Multi-Lingual Publishing Pack

You could probably use rah_replace to replace the language names with images. Something like this:

<txp:rah_replace from="English,Italiano" to='<txp:image name="en.png" />,<txp:image name="it.png" />'>
<txp:l10n_lang_list />
</txp:rah_replace>

(Not tested.)

Offline

#1718 2011-03-05 10:35:13

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hello,
can I change someway the section name? I have the same “/produzione-a-catalogo” in Italian, French, English and so on…

Thanks…

Offline

#1719 2011-03-05 13:43:51

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

Re: MLP - The Multi-Lingual Publishing Pack

No, unfortunately not. If your site structure allows it, you could solve this by using the /title permlink mode instead of /section/title.

Offline

#1720 2011-03-10 13:02:07

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hello again,
I’m having some oddities with a plugin, that is cbs_navigation_menu
I’m using a tag like this

<txp:cbs_navigation_menu sections="chi-siamo,applicazioni" 
	titles="<txp:text item='Chi_siamo' />,<txp:text item='Applicazioni' />"
	break="li" activeclass="active" />

and the MLP snippet > form page can notice the item strings just once. If I get back to the preferences page at a later time, the form looks like not having any txp:text value. To make it work I have to change the values from txp:text to the ##mlpstring## value. Then back to txp:text

Am I doing something wrong?
Thanks!

Offline

#1721 2011-03-10 20:24:10

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: MLP - The Multi-Lingual Publishing Pack

Apologies if this has been covered before. I googled and could not find any useful info, but didn’t really go through all pages in this thread. Anyway, I’m having problems installing MLP on a freshly updated 4.3 installation (using mlp-4.3.0.12).

When running the setup wizard, I get these errors

Add the `txp_lang.l10n_owner` field : Failed
Insert the strings for the MLP Pack : Failed
Add the l10n_articles table : Failed

Everything else is successfull.
I’ve checked my db user’s privileges, everything is allowed.
any clues?


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#1722 2011-03-10 22:11:33

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

Re: MLP - The Multi-Lingual Publishing Pack

Manaus wrote:

To make it work I have to change the values from txp:text to the ##mlpstring## value. Then back to txp:text

Am I doing something wrong?

I don’t know, I never use the txp:text tag for this. I would just use titles="##string1##,##string2##", do you need the txp:text tag for a special reason?

Kemie

Don’t know about that either, it never happened to me… Have you tried to run the clean-up wizard and then the setup wizard again?

Offline

#1723 2011-03-11 00:19:12

Pablo Apiolazza
Member
From: Trieste, Italy
Registered: 2011-03-03
Posts: 19
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi, I installed once the MLP, then uninstalled it with the wizard. I installed a plugin and updated to the v.4.3.0 and now I get this error, and I cannot enter at textpattern at all. Please help me, I’m desperate.

Fatal error: Call to undefined function l10n_installed() in /home3/papiolaz/public_html/textpattern/lib/txplib_misc.php(638) : eval()’d code on line 334

Offline

#1724 2011-03-11 00:28:42

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

Re: MLP - The Multi-Lingual Publishing Pack

Pablo Apiolazza wrote:

Hi, I installed once the MLP, then uninstalled it with the wizard. I installed a plugin

Which plugin?

Offline

#1725 2011-03-11 00:30:46

Pablo Apiolazza
Member
From: Trieste, Italy
Registered: 2011-03-03
Posts: 19
Website

Re: MLP - The Multi-Lingual Publishing Pack

the smd_gallery. I browsed for a similar error on this forum and I solved the install, but now I get this error on the site for the same reason:

A problem occured while loading the plugin: smd_gallery -> User_Error: Unable to include required plugin “smd_lib” on line 539

Fatal error: Class ‘smd_MLP’ not found in /home3/papiolaz/public_html/textpattern/lib/txplib_misc.php(638) : eval()’d code on line 11

Good news is that at least now I can enter to the panel.

Bent je van Amsterdam? :)

Offline

#1726 2011-03-11 00:48:33

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

Re: MLP - The Multi-Lingual Publishing Pack

Pablo Apiolazza wrote:

A problem occured while loading the plugin: smd_gallery -> User_Error: Unable to include required plugin “smd_lib” on line 539

You need to have the plugin smd_lib installed as well.

Bent je van Amsterdam? :)

Haha, nee, Tilburg :) You know a lot of languages!

Offline

#1727 2011-03-11 01:18:55

Pablo Apiolazza
Member
From: Trieste, Italy
Registered: 2011-03-03
Posts: 19
Website

Re: MLP - The Multi-Lingual Publishing Pack

Oh, I didn’t notice that… dankje wel.
I think I can get to the same result with the wet_for_each_image that is less needy, so I’ll deactivate it for now.

Ja, maar ik heb een bijzonder liefde voor Holland. :) En mijn nederlands is nog niet goed.

Last edited by Pablo Apiolazza (2011-03-11 01:19:20)

Offline

#1728 2011-03-11 09:20:45

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: MLP - The Multi-Lingual Publishing Pack

Els wrote:

Kemie

Don’t know about that either, it never happened to me… Have you tried to run the clean-up wizard and then the setup wizard again?

stupid question, how do I access the cleanup wizard? There’s nothing on the mlp tab?

screenshot


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

Board footer

Powered by FluxBB