Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1165 2009-01-25 20:19:32

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

Re: MLP - The Multi-Lingual Publishing Pack

About adding new languages again: where could be found a list of those 5 characters lang codes which should be entered on MLP setup page? Some of those seems to be quite obvious, others are not so simple (da-dk) for example. I would have thought just dk-dk. Other, maybe a silly question, should other users be logged out when adding new langs?

Offline

#1166 2009-01-25 21:28:25

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

Re: MLP - The Multi-Lingual Publishing Pack

There is a list of available languages in Txp here.

Offline

#1167 2009-01-25 22:04:23

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

Re: MLP - The Multi-Lingual Publishing Pack

Thanks Els, haven’t seen that list before.

Offline

#1168 2009-01-26 12:40:16

Si
Member
From: Kiev
Registered: 2008-08-31
Posts: 45
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi everyone,

I need a quick idea, why MLP isn’t working on the client’s host, where I moved the site from my own ‘sandbox’ host.
I have Txp 4.0.7 and MLP 0.9.11.

In the ‘sandbox’ everything works fine with clean URLs, but after moving neither clean nor messy URLs work, I just get a 404 because of the language prefix, e.g. “directory /ru wasn’t found on this server.”

And the client’s host fails the clean URL test.

There are also some PHP errors, here is what diagnostics says:

The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: proc_close, show_source, symlink

Are any of these functions relevant to MLP?

Last edited by Si (2009-01-26 15:13:36)

Offline

#1169 2009-01-26 20:05:30

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: MLP - The Multi-Lingual Publishing Pack

Is it possible to get MLP to play nicely with wet_haystack?

At the moment I am getting the following errors:

Tag error:  <txp:article section="weblog" searchsticky="1"> ->  Textpattern Warning: Can't find FULLTEXT index matching the column list
select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod, match (`Title`, `Body`, `Excerpt`) against ('portfolio') as score from l10n_txp_en_gb as l10n_txp_en_gb where 1=1 and Status >= 4 and Posted <= now() and (now() <= Expires or Expires = 0) and (`Title` rlike 'portfolio' or `Body` rlike 'portfolio' or `Excerpt` rlike 'portfolio') and Section != 'portfolio' and Section != 'contact' and Section != 'search' order by score desc limit 0, 10  on line 110

Offline

#1170 2009-01-26 21:20:48

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

Re: MLP - The Multi-Lingual Publishing Pack

Si

A couple of quick checks (wild guesses):

  • did you upload all MLP files (especially did you replace txplib_db.php)?
  • did you upload .htaccess?
  • do clean URLs work at all (if you disable MLP)?
  • if you run the uninstall wizard, and then the install wizard again, does that help?

If none of these provide a clue, how exactly did you do the move?

Offline

#1171 2009-01-26 22:28:23

Si
Member
From: Kiev
Registered: 2008-08-31
Posts: 45
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi Els,
I moved the whole site structure including txplib_db and .htaccess and uploaded the database as I normally do. The clean URLs don’t work at all on the new host (but they do on my own host) so I have a strong feeling that this is the problem. I also tried running wizards and even uninstalling MLP completely and re-installing it, but no luck. And I realised :) that it was installed in a subdirectory on my host and was working perfectly btw.

Thanks for the tips, anyway!

Offline

#1172 2009-01-26 23:07:15

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

Re: MLP - The Multi-Lingual Publishing Pack

If the host doesn’t have mod_rewrite (you can check in Diagnostics) I think MLP just won’t work…

Offline

#1173 2009-01-27 09:40:58

Si
Member
From: Kiev
Registered: 2008-08-31
Posts: 45
Website

Re: MLP - The Multi-Lingual Publishing Pack

Problem solved, and it turned out that I did have a wrong .htaccess file with, thanks a lot for the clue, Els!

Offline

#1174 2009-01-28 17:03:59

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: MLP - The Multi-Lingual Publishing Pack

When using the MLP with zem_contact_reborn, how do I localise the zem_contact_lang-mlp plugin for multiple languages?

Offline

#1175 2009-01-28 17:12:37

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

Re: MLP - The Multi-Lingual Publishing Pack

When you have installed the languages you want, you can import existing language strings from here, or enter the translations yourself (in the MLP > Plugins tab).

Offline

#1176 2009-01-31 00:58:33

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: MLP - The Multi-Lingual Publishing Pack

Another one: Is it possible to show articles in standard language for particular article tags or sections? I am building a site that will be translated into three languages, except for the weblog, which should just list the English articles. If the user is viewing a language other than that a notice would show up at the top explaining why he should learn a foreign language;-)

Not sure if the exclude section bit in the mlp allows for something like that. The important bit is when the user browses back to a section that is translated that his language_settings are remembered.

Offline

Board footer

Powered by FluxBB