Textpattern CMS support forum

You are not logged in. Register | Login | Help

#2471 2018-08-06 10:28:40

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 43
Website

Re: MLP - The Multi-Lingual Publishing Pack

I’ll try to adapt the plug-in to the new version. You’ll have to test.

Offline

#2472 2018-08-10 08:16:53

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 43
Website

Re: MLP - The Multi-Lingual Publishing Pack

During Adapting MLP with Txp 4.7.1 I ran into a strange problem with languages. In 4.6.2 I have “uk-ua” and “ru-ru” language codes. But after upgrading to 4.7.1 I have “uk” and “ru” accordingly.

Logical integrity is broken because all articles, description in categories, images and etc are connected with old language codes.

What should I prefer to fix this situation? Return old codes of languages in txp_lang table or alter names of columns in accordingly tables and update codes in table textpattern.

Is it not a mistake? And willn’t Txp return to the old codes?

Offline

#2473 2018-08-15 14:54:40

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 43
Website

Re: MLP - The Multi-Lingual Publishing Pack

I had a problem with the snippets in 4.7.1. In one of the two languages, no text was output.

In the file textpattern/publish.php you need to fix it

if (txpinterface !== 'css') {
    load_lang(LANG);
}

for this

if (txpinterface !== 'css') {
    $textarray = load_lang(LANG);
}

Offline

Board footer

Powered by FluxBB