Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1456 2009-12-04 17:30:57

jpleboeuf
New Member
From: Prague, Czech Republic
Registered: 2009-10-08
Posts: 5
Website

Re: MLP - The Multi-Lingual Publishing Pack

Then play with l10n_get_lang to build your URLs.

Offline

#1457 2009-12-04 17:34:55

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

Re: MLP - The Multi-Lingual Publishing Pack

If you have a lot of languages on the site I think it can be automated further, but if not, it’s probably quickest if you put this code for each language in its own form, name the forms ‘en-us_paypal’, ‘es-es_paypal’ etcetera, and use something like this to call the right form:

<txp:output_form form='<txp:l10n_get_lang type="long" />_paypal' />

(edit: late again ;) )

Last edited by els (2009-12-04 17:35:18)

Offline

#1458 2009-12-04 17:36:59

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

Re: MLP - The Multi-Lingual Publishing Pack

jpleboeuf wrote:

Then play with l10n_get_lang to build your URLs.

That’s what I was thinking when I said ‘can be automated further’, but the get_lang tag outputs en-us, and not en_US. But even that could be solved if necessary :)

Offline

#1459 2009-12-04 18:38:33

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: MLP - The Multi-Lingual Publishing Pack

Thanks, that has given me enough to work it out

Regards
Peter

Offline

#1460 2009-12-04 23:19:32

datorhaexa
Member
From: Düsseldorf, Germany
Registered: 2005-05-23
Posts: 115
Website

Re: MLP - The Multi-Lingual Publishing Pack

graeme wrote:

Please file a bug and I’ll fix this when I get a chance. Thanks.

Oops. Missed the posts. I hope someone with an account at txpforge can file this issue so that I don’t make an account for this only.

Last edited by datorhaexa (2009-12-04 23:20:25)

Offline

#1461 2009-12-13 22:35:40

pogonik
Member
Registered: 2008-03-20
Posts: 40
Website

Re: MLP - The Multi-Lingual Publishing Pack

sorry if someone else already report this…
I’ve notice that if you change the name of article category it’s not automatically changed in article (for example in l10n_txp_en_gb table)… it can be a problem if you have a lot of articles in that category.
using txp 4.2 and mlp 0.9.13

Last edited by pogonik (2009-12-13 22:36:51)

Offline

#1462 2009-12-26 22:57:13

liniocht
Member
Registered: 2009-10-28
Posts: 45
Website

Re: MLP - The Multi-Lingual Publishing Pack

I wonder if anyone managed to get 0.9.13 working with txp 4.2.0?
I’ve tried several times and I am still unable to edit section titles.

I’ve found out that after MLP installation section edit form uses wrong database fields for titles.
Section title [English] uses ‘Title’ field from txp_section table, not ‘l10n_title_en_gb’. So I can edit and save Section title [English], but it’s not displayed in the frontend because <txp:section link=“1” title=“1” /> takes title from ‘l10n_title_en_gb’.

I can’t guess where Section title [Russian] goes to it just disappears after I press Save in section edit form and it’s not stored anywhere – l10n_title_ru_ru remains empty.

The bug was filed 2 moths ago at http://txpforge.org/issues/show/29 and it remains in Unconfirmed status. I understand it’s free software and there is no support, but could anybody give me a clue how to debug it so that I could fix it myself?

Offline

#1463 2009-12-28 03:59:06

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

Re: MLP - The Multi-Lingual Publishing Pack

liniocht, I’m having the same problem, with section titles and categories. The easiest way (so to speak) I found to change/add them is by using either phpMyAdmin or an external DB manager (I like Sequel Pro) and enter the info manually.

Offline

#1464 2009-12-28 07:36:30

liniocht
Member
Registered: 2009-10-28
Posts: 45
Website

Re: MLP - The Multi-Lingual Publishing Pack

Thank you, ploinkr.
I have not tried categories with mlp-0.9.13 yet. It’s bad news categories editing doesn’t work too. I’ve tried changing data manually examining the problem – it works, but it’s not an option for a more or less commercial project. I had to use txp 4.0.8 with mlp-0.9.11 – it seems stable, but anyway has some bugs mentioned in this thread earlier.
So I am pressed to use txp 4.0.8 if I want mlp or to use txp 4.2.0 in one language untill (if ever) 0.9.13 is fixed.

Offline

#1465 2009-12-28 14:03:53

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

Re: MLP - The Multi-Lingual Publishing Pack

liniocht and ploinkr

It doesn’t seem to be a general problem, I’m running MLP 0.9.13-gp on Txp 4.2.0 and I’m perfectly able to change section and category titles. So I guess it must be something in the setup that’s causing it. I tested it in both a fresh install and on a site that has had several upgrades and is running on the latest versions of both Txp and MLP now as well. Both are on the same server, and I don’t have an MLP site on another server, so I can’t test if it’s related to the server setup.

Graeme seems to be too busy at the moment, I don’t mind doing some more testing but someone has to tell me what to test exactly…

Offline

#1466 2009-12-28 14:59:58

liniocht
Member
Registered: 2009-10-28
Posts: 45
Website

Re: MLP - The Multi-Lingual Publishing Pack

Els,
I thought it might be caused by installation procedure, but it seems I follow the instruction supplied with 0.9.13. at least to my understanding. Can it be an important step is omited in the instruction? Is it possible to interpret the instruction the wrong way?

I tried it on my linux server and on a FreeBSD virtual machine with the same result. I tried it with English and Russian, and I tried it on new installation with English and Norwegian – with the same result.

Section title field in default language is mapped to ‘Title’ filed in txp_sections table. It’s editable but it’s not displayed in the frontend, cause the frontend wants the title from ‘l10n_title_en_gb’ field.

Section title field in second language – in my case it was Russian is mapped to ‘l10n_title_ru_ru’, but it won’t let you save it into db. I you enter it manually into database it appears in read-only mode in sections dialoge.

My diagnostics is here http://forum.textpattern.com/viewtopic.php?pid=218386#p218386

I installed fresh txp 4.2.0, installed Russian or Norwegian language and installed mlp 0.9.13 following the instruction provided, skipping all upgrade steps as irrelevant. If I am not the only chosen, you may arrive at where I’ve been doing it the way I did.

Offline

#1467 2009-12-28 20:43:57

pogonik
Member
Registered: 2008-03-20
Posts: 40
Website

Re: MLP - The Multi-Lingual Publishing Pack

liniocht wrote:

I wonder if anyone managed to get 0.9.13 working with txp 4.2.0?
I’ve tried several times and I am still unable to edit section titles.

I don’t have those problems anymore (0.9.13 & 4.2) everything works great here with serbian, italian & english (draganstojkov.com), except problem I mention above…

Offline

#1468 2009-12-28 23:43:31

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

Re: MLP - The Multi-Lingual Publishing Pack

pogonik wrote:

I don’t have those problems anymore (0.9.13 & 4.2)

Pogonik, does that mean you had them before? If so, what did you do to solve them?

Offline

#1469 2009-12-29 11:12:16

pogonik
Member
Registered: 2008-03-20
Posts: 40
Website

Re: MLP - The Multi-Lingual Publishing Pack

I meant, I’ve had that problems with mlp 0.9.12 (or it was 0.9.11 can’t remember)…with 0.9.13 everything works fine.
Could it be a server problem, or some problem with php version maybe?

Offline

#1470 2009-12-29 16:23:39

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

Re: MLP - The Multi-Lingual Publishing Pack

pogonik wrote:

Could it be a server problem, or some problem with php version maybe?

That’s what I was thinking. Let’s compare:

Showing the ‘bug’

liniocht’s settings:

PHP version: 5.2.0-8+etch15
MySQL: 5.0.32-Debian_7etch10-log
PHP Server API: apache
Server OS: Linux 2.6.18
Active plugins: zem_contact_lang-mlp-4.0.3.6-ML, l10n-0.9.13-gp, gbp_admin_library-0.4.2

vandamar’s settings:

PHP version: 4.3.11
MySQL: 5.0.67.d7-ourdelta-log
PHP Server API: cgi-fcgi
Server OS: Linux 2.4.21-53.ELsmp
Active plugins: zem_contact_lang-mlp-4.0.3.6-ML, l10n-0.9.12-gp, ebl-image-edit-2.0, hak_tinymce-0.7.4, upm_image-0.6.2, stm_javascript-0.3, gbp_admin_library-0.4.1

(vandamar changed to l10n-0.9.13-gp afterwards.)

Not showing the ‘bug’

My settings:

PHP version: 5.2.11
MySQL: 5.0.86
PHP Server API: apache2handler
Server OS: Linux 2.6.9-89.0.9.ELsmp
Active plugins: zem_contact_reborn-4.0.3.20, zem_contact_lang-mlp-4.0.3.6-ML, wet_slimpattern-0.4.1, mkp_version-4.0, jnm_audio-0.3m, pap_contact_cleaner-0.1, rss_admin_db_manager-4.0.2m, l10n-0.9.13-gp, sed_copyright-1.3, gbp_admin_library-0.4.2, sed_plugin_library-0.3

pogonik’s settings:

PHP version: 5.2.9
MySQL: 5.0.45-log
PHP Server API: apache
Server OS: FreeBSD 7.2-RELEASE-p5
Active plugins: zem_contact_lang-mlp-4.0.3.6-ML, wet_for_each_image-0.5, l10n-0.9.13-gp, upm_image-0.6.2, gbp_admin_library-0.4.2, jbx_multiple_image_upload-0.3c

Hmm… nice list, but it doesn’t tell me much ;) Anyone else? Is there any other setting we should look at?

Edit: added pogonik’s settings. I notice that our PHP versions are higher, but don’t know if that’s relevant?

Last edited by els (2009-12-30 17:50:17)

Offline

Board footer

Powered by FluxBB