Textpattern Forum

You are not logged in. Register | Login | Help

#511 2007-12-27 12:56:13

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,024
Website

Re: MLP - The Multi-Lingual Publishing Pack

Steve : it’s amazing!

I think I’ll send you a donation in few days for your great plugin (and effort).

Have a good end of year.

Tks lot,


Patrick.
Txp Tricks & Tips by french users : http://txp-fr.net | G+
Alison: a CSS Grid tool for all browsers

Offline

#512 2007-12-27 14:54:29

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

Re: MLP - The Multi-Lingual Publishing Pack

All, especially Patrick

If you haven’t seen this post you might be able to help me out.


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#513 2007-12-28 12:57:54

beatfreak
New Member
Registered: 2006-03-02
Posts: 8

Re: MLP - The Multi-Lingual Publishing Pack

net-carver

The blank line has nothing to do with the compressed plugin. I tried installing the previous version from the 0.7.636 pack.
The site is on a public server but is protected with .htaccess so only I and some friends can visit it before we launch it to the public.

Offline

#514 2007-12-28 13:03:22

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

Re: MLP - The Multi-Lingual Publishing Pack

beatfreak

Yes, understood. I’d still like to collect a little data from this if possible — perhaps you can do the collection in a way that preserves your pre-launch secrecy. If you are ok with this, could you do a wget on the index page (or whatever page is exhibiting the problem) , then truncate the file just after the headers and then email it to me?


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#515 2007-12-28 15:54:13

beatfreak
New Member
Registered: 2006-03-02
Posts: 8

Re: MLP - The Multi-Lingual Publishing Pack

net-carver

I have done a wget on the index file and have in on my desktop. If you pm me your e-mail addres I will send you the file.

Offline

#516 2007-12-28 16:01:17

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

Re: MLP - The Multi-Lingual Publishing Pack

beatfreak

you (should) have email.


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#517 2007-12-28 16:15:14

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

Re: MLP - The Multi-Lingual Publishing Pack

One thought: it might just be one or more stray newline(s) at the end of one of the textpattern/lib/l10n_blahblah.php files (that is, after the ?> at the end of the file.) I just took a look at the sources and there were a few in there — I’ve trimmed them out so the next build will not include them.

If you want to see if that is your problem just edit those text files and make sure there is no blank line after any closing ?>.

Hope that helps.

Edit: The files you will need to edit are…

  1. l10n_default_strings.php
  2. l10n_en-gb_strings.php
  3. l10n_langs.php

Last edited by net-carver (2007-12-28 16:21:01)


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#518 2007-12-29 07:39:47

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 174
Website

Re: MLP - The Multi-Lingual Publishing Pack

Many thanks for this excellent plugin.

I have a problem with the compatibility of this plugin with the plugin chh_keywords. In messy mode it works fine, in clean mode, chh_keywords adds an extra language identifier to the url of the top page (not to the addresses of the individual articles).

For example:

Address returned by <txp:l10n_lang_list /> should be:
1. www.xxx.com/ja (in English mode)
2. www.xxx.com/nl (in English mode)
3. www.xxx.com/en (in Japanese mode)
4. www.xxx.com/nl (in Japanese mode)

Actual address returned:
1. www.xxx.com/ja/en (in English mode)
2. www.xxx.com/nl/en (in English mode)
3. www.xxx.com/en/ja (in Japanese mode)
4. www.xxx.com/nl/ja (in Japanese mode)

I figure this must a problem with the code for clean mode in chh_keywords.

Is there anybody who has (or can make) a fix for this problem?


Photojournalist.jp – News and photos (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)
Old Photos of Japan – Japan between 1860 and 1940 (100% txp)
MeijiShowa – Stock photos of Japan between 1860 and 1940 (100% txp)

Offline

#519 2007-12-29 12:39:25

beatfreak
New Member
Registered: 2006-03-02
Posts: 8

Re: MLP - The Multi-Lingual Publishing Pack

net-carver

Problem solved! I removed all the blank lines at the end of all the l10n_ … files and the first empty line is gone.
Thank you.

Offline

#520 2007-12-29 12:49:38

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

Re: MLP - The Multi-Lingual Publishing Pack

Kjeld

I’ve never used that plugin so please be patient while I take a look at it. Do be aware however; it might not be possible to fix this problem as the MLP Pack includes a modification to the txplib_db.php file. I’ll let you know what I find or if I need anything else to help narrow it down.

beatfreak

Fantastic. Thanks for helping me make the pack better too. Please consider posting me a link to the site when it goes live and as long as my young daughter can look at it.

Last edited by net-carver (2007-12-29 14:12:55)


Steve
Textile | My plugins on GitHub | @netcarver

Offline

Board footer

Powered by FluxBB