Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1041 2008-11-03 21:53:25

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

Re: MLP - The Multi-Lingual Publishing Pack

Maybe I should post this in the string exchange thread, but I’m not sure if it’s meant for that. So here goes:
Does anyone have the Portuguese (pt-pt) strings for zem_contact_lang-mlp?

Offline

#1042 2008-11-04 07:59:16

otti
Member
From: Australia
Registered: 2008-04-16
Posts: 75
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi net-caerver,

I have just installed your MLP on a test site to sort everything out before I install on a clients live site. All went smooth – and your video really helps. My renditions are created as they should, but I don’t see a language picker on the TXP test site. In your video it states that the 10n_lang_list tag should be inserted, but apparently it wasn’t in my case. Is there a way to activate it? I looked into the MLP preferences but could not find it. I have TXP 4.0.6 (r2805) installed with PHP 4.4.8.
Your help is very much appreciated

Cheers
otti

Offline

#1043 2008-11-04 11:27:12

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote:

Victor
Thanks, got it. Will handle this by email now.

Just tried again with removing prefix from tables. Unsitalled MLP, reuploaded files, installed it again. Second error after resaving disappered, but the first still exists.

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 select * from l10n_articles where `ID`= textpattern/lib/txplib_db.php:237 getRow() in /home/u78707/rusx.org/www/textpattern/lib/txplib_db.php on line 117

And this occures every time i try to save any rendition – newly cloned from russian to english or the old russian article, whic was created before mlp pack installed

P.S. tried just now to install pack on totally another hostng – the same trouble with double prefix and with error i wrote above.

Hope this help you.

Last edited by the_ghost (2008-11-04 11:39:15)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#1044 2008-11-05 08:53:44

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

otti wrote:

I have just installed your MLP on a test site to sort everything out before I install on a clients live site. All went smooth – and your video really helps. My renditions are created as they should, but I don’t see a language picker on the TXP test site. In your video it states that the 10n_lang_list tag should be inserted, but apparently it wasn’t in my case. Is there a way to activate it? I looked into the MLP preferences but could not find it. I have TXP 4.0.6 (r2805) installed with PHP 4.4.8.
Your help is very much appreciated

Hello Otti

the MLP Pack only tries to insert tags into the default Txp forms from a virgin Txp install. Presumably your test site is a clone of your client’s live site and isn’t using the default pages and forms so it didn’t get the l10n_lang_list tag inserted. If that’s the case, you’ll need to choose where to put it. Just add…

<txp:l10n_lang_list />

…in a suitable place in your page(s) or form(s). Very simple.


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#1045 2008-11-06 08:38:50

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: MLP - The Multi-Lingual Publishing Pack

  1. How do i make this code output right article list, according that id i set is id of article, not current language rendition:
    1. <txp:article_custom id="2" limit="99"><txp:l10n_permlink /></txp:article_custom>
  2. Is my use of l10n_permlink right?

Last edited by the_ghost (2008-11-06 08:40:00)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#1046 2008-11-09 00:55:03

otti
Member
From: Australia
Registered: 2008-04-16
Posts: 75
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi net-carver,

thanks for the info. I inserted the tag in my pages and it worls now.
Thanks again for this excellent plugin.

Cheers
otti

Offline

#1047 2008-11-09 13:59:24

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

All

The latest dev snapshot is “delayed.”

This one will have these fixes…

Improves…

  • Admin side localisation of category/section names (but this is still incomplete)
  • version numbering: updated to v0.9.x to avoid problems with confusing 0.8.x series version numbers.

And adds…

  • new tag: l10n_get_rendition_id
  • new indexes to the articles’ language & group columns in the DB

This version should work as-is with txp 4.0.6 stable.

Best regards,

Last edited by net-carver (2008-12-06 19:45:06)


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#1048 2008-11-09 17:18:22

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

Re: MLP - The Multi-Lingual Publishing Pack

Thank you :)

For those who don’t want to search the thread yet again for upgrade instructions: here they are. This time I’ve copied them to a form in my MLP install ;) and for myself added one more action (posting this in case there are others who are doing this as well): in l10n_langs.php change English (GB) to English.

Offline

#1049 2008-11-09 22:20:04

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

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote:

For those working with the latest SVN versions: don’t go higher than r2989. r2990 is breaking this again.
(I already mailed Steve about this.)

Edit: can easily be solved by adding a new column ‘Expires’ to the l10n_txp_(language code) tables. I added them after ‘Posted’, with the same prefs as the ‘Expires’ column in the textpattern table.

Last edited by els (2008-11-09 22:56:06)

Offline

#1050 2008-11-09 23:48:47

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

All

what do you know :) I’ll be releasing 0.9.10 pretty soon. Thank you for spotting that change Els.


Steve
Textile | My plugins on GitHub | @netcarver

Offline

Board footer

Powered by FluxBB