Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#433 2007-11-12 19:05:23

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: MLP - The Multi-Lingual Publishing Pack

Could be possible in a future version to translate also the section names (not just the titles)?

Thanks and good to see you back, net-carver.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#434 2007-11-12 19:09:30

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: MLP - The Multi-Lingual Publishing Pack

jstubbs wrote:

I think you may have missed the translation inputs for “category” titles.

I’ve never noticed this problem. Category translation work with TXP 4.0.4 and TXP 4.0.5 without problem.

Offline

#435 2007-11-13 00:31:24

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

Re: MLP - The Multi-Lingual Publishing Pack

jstubbs

thank you for the feedback, but my bare-bones, unpatched MLP on Txp4.05 doesn’t seem to be displaying this problem. If I go to Content > Categories and then either create a new category or click on an existing one, I’m taken to the edit screen where I can enter the translations.

Regarding better Txp/MLP integration, I’ve really been out of the loop. I think Graeme was going to discuss this with the core team but don’t know what has come of that. The MLP Pack changes one file — txplib_db.php — from the Txp installation. Better integration would be one area worth thinking about some more.

Edit but it does loose the field values after you enter them — not good..

Last edited by net-carver (2007-11-13 00:34:27)


Steve

Offline

#436 2007-11-13 00:32:20

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

Re: MLP - The Multi-Lingual Publishing Pack

maniqui

Hello again and thank you!

Could be possible in a future version to translate also the section names (not just the titles)?

Can you give me a scenario where this might be useful? (I’m thinking something like better URL output???)


Steve

Offline

#437 2007-11-13 16:35:57

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

Re: MLP - The Multi-Lingual Publishing Pack

Call for testing:

I present the first (attempted) fix in a long time. This is a copy of my locally updated l10n plugin

Issue addressed by this change: file download corruption in .pdf / .doc / .xls files (and potentially many other file types.)

Last edited by net-carver (2007-11-13 16:36:34)


Steve

Offline

#438 2007-11-13 17:11:08

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote:

Can you give me a scenario where this might be useful? (I’m thinking something like better URL output???)

That’s the scenario: better URL output (both for human readability and SEO purposes).
Example: if you are seeing the english version, you would see /section/title, and if you are seeing the spanish version, you would see /sección/título.

Like:
en/products/product-name or
es/productos/nombre-de-producto

That’s all!

net-carver wrote:

Issue addressed by this change: file download corruption in .pdf / .doc / .xls files (and potentially many other file types.)

Sorry, I haven’t been following this issue from too close. Was this affecting every installation of MLP?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#439 2007-11-13 17:21:00

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

Re: MLP - The Multi-Lingual Publishing Pack

maniqui wrote:

Was this affecting every installation of MLP?

Yes, but not all file types exhibited the corruption.


Steve

Offline

#440 2007-11-15 07:26:28

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

Re: MLP - The Multi-Lingual Publishing Pack

Version 0.7.627 is now available.

Skip over to txp-plugins! to grab the update.

I’ve also taken the opportunity to change the minimum requirement for MySQL to 4.1 from 4.0 as previously discussed.

Admin interface…
  1. Totally blank content > write tab. — Fixed,
  2. “Missing ID” warnings in the content > renditions tab. — Fixed.
  3. Language switcher drop-down only showing default language. — Fixed.
  4. Missing translation textareas for plugin strings and snippets. — Fixed.
  5. Missing translation fields for section titles (thanks beztak). — Fixed.
  6. Translated image alt/captions dropped (thanks beztak). — Fixed.
  7. Translated category titles dropped (thanks jstubbs). — Fixed.
  8. Byte Order Mark in output (thanks Els/Ruud). — Fixed
Public interface…
  1. File downloads corrupted. — Fixed.

I know you’ll let me know if any of the above is wrong.

Edited to add
Tested out OK on the following setups…

Operating system… Webserver… PHP running as… MySQL version… PHP version… Txp… Notes…
Linux: 2.6.22-14-generic (Ubuntu Gustsy) Apache2 apache2handler 5.0.45 5.2.3 4.0.5
Linux: 2.4.32 (Debian) Apache 1.3.37 cgi 5.0.24 4.4.7 4.0.4 + 4.0.5 (on Dreamhost)
Linux: 2.4.32 (Debian) Apache 2.0.54 fast-cgi 5.0.24 5.0.24 4.0.4 + 4.0.5 (on Dreamhost)
Linux: 2.4.21-52.ELsmp Apache 1.3.36 ?? 4.0.27-standard-log 4.4.4 4.0.5 (thanks Bloke)

Any others working ok?

Techie note (maybe some knowledgeable php folks can confirm or deny this)…
Most of the admin side problems seem to have be due to some changes in the way PHP5 handles global objects. They seem to get destroyed before any registered output buffer processing happens. As the MLP pack makes use of output buffers on the admin side to inject fields into admin pages, things were failing when the output buffers were processed and the code referenced methods on destroyed objects.

Last edited by net-carver (2007-11-16 16:51:13)


Steve

Offline

#441 2007-11-15 19:04:06

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: MLP - The Multi-Lingual Publishing Pack

Awesome! Will test it out. BTW – on the Resources page, you have the file download as file #50. Not sure if this is a mistake, thought I would mention it just in case.

Offline

#442 2007-11-15 23:22:22

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

Re: MLP - The Multi-Lingual Publishing Pack

jstubbs wrote:

BTW – on the Resources page, you have the file download as file #50. Not sure if this is a mistake, thought I would mention it just in case.

Thanks — fixed now.


Steve

Offline

#443 2007-11-16 07:29:25

jmk
Member
Registered: 2006-09-04
Posts: 49

Re: MLP - The Multi-Lingual Publishing Pack

Thanks a lot! i just installed it on two servers – it fixed all of my problems. BUT it seems, that the update also introduced a new one:
to change the language of a page, i use
<txp:l10n_lang_list surpress_current=“1” />
that used to work flawlessly … now i get this weird error. on top pages (domain.tld/<lang>) the switch works. on the next level (domain.tld/<lang>/<section>) the switch produces this link: (domain.tld/<lang>/<otherlang><section> — ie domain.tld/en/denews, instead of domain.tld/en/news), which if course gives me a 404. on the next level (domain.tld/<lang>/<section>/<title>) it all works again.

this occurs on to completely different web sites of mine… can anybody confirm this?

once again, thanks for fixing the other problems, it brings textpattern closer to a great solution for multilang sites!
jmk

Offline

#444 2007-11-16 07:47:22

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

Re: MLP - The Multi-Lingual Publishing Pack

jmk wrote:

Thanks a lot! i just installed it on two servers – it fixed all of my problems.

Fantastic — now we are getting somewhere with it!

BUT it seems, that the update also introduced a new one…

Ok, looking at that now. Hope to have a fix for it real soon.


Steve

Offline

Board footer

Powered by FluxBB