Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1711 2011-02-16 08:24:11

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

Re: MLP - The Multi-Lingual Publishing Pack

Teemu, thanks for posting your solution. I hope it will help others who encounter the same problem.

frischmilch, glad you solved it. I think that losing the language marker when commenting is not as it should be, but so far I haven’t noticed any negative side effects, so we’ll just have to live with it ;)

Offline

#1712 2011-02-16 23:07:15

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

Re: MLP - The Multi-Lingual Publishing Pack

Teemu

Noted, thanks. Will be included in the next build.


Steve

Offline

#1713 2011-03-03 18:40:44

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

Re: MLP - The Multi-Lingual Publishing Pack

Hello,
I wrote a series of articles before installing the MLP. Now I’d like to pass these articles to different languages, but the MLP table is empty.

Thank you very much

Offline

#1714 2011-03-03 19:49:33

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

Re: MLP - The Multi-Lingual Publishing Pack

It shouldn’t be empty as far as I know. Did you follow these instructions when you installed MLP?

Last edited by els (2011-03-03 19:50:30)

Offline

#1715 2011-03-04 10:10:01

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

Re: MLP - The Multi-Lingual Publishing Pack

Thanks Els, run the cleanup wizard, then installed back, and now it’s ok. ;)

Offline

#1716 2011-03-04 11:17:26

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

Re: MLP - The Multi-Lingual Publishing Pack

Hello again,
I’m trying to make some links to the different language homepages, as l10n_lang_list would, but with images. I’m hacking with code such as

<a href="<txp:link_to_home />it/"><txp:image name="it.png" /></a>

but link_to_home returns already homepage.tld/it/. Is there any way to dynamically/tag link to language homepages?

Thanks for suggestions…

Offline

#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: 252
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: 252
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

Board footer

Powered by FluxBB