Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1789 2011-05-17 21:04:31

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

Re: MLP - The Multi-Lingual Publishing Pack

Tobiasz wrote:

Now it’s working at TXP: 4.4.0, l10n 0.9.11, gbp_admin_library 0.4.1 and zem_contact_lang-mlp 4.0.3.6.

First you need to upgrade MLP: Txp 4.3.0 and higher needs MLP 4.3.0.12, you can get it here.

If you still encounter problems afterwards, then please post again.

Offline

#1790 2011-05-18 09:07:49

Depot 1
Member
From: Copenhagen
Registered: 2011-01-03
Posts: 24
Website

Re: MLP - The Multi-Lingual Publishing Pack

Els wrote:

Snorre
I have no idea why this is happening, never heard of this problem before… You shouldn’t have language directories, so that at least is fine ;) Is it a live site? If you’d trust me with a login I can have a look around at your settings, but I can’t promise I’ll be able to find the cause of the problem.

Hi Els,
I’m very grateful for any help!
I’ve emailed you my log-in info.

Offline

#1791 2011-05-18 11:49:43

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

Re: MLP - The Multi-Lingual Publishing Pack

Els,

Works a lot better since I upgraded to MLP 4.3.0.12 BUT the link issue persists. If I use <txp:l10n_lang_list /> then it shows them correct but how do i add images to the this list as I have images with the country flags.

Offline

#1792 2011-05-18 17:52:04

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

Re: MLP - The Multi-Lingual Publishing Pack

Exiladler wrote:

how do i add images to the this list as I have images with the country flags.

You can do it using rah_replace:

<txp:rah_replace from="Italiano,Nederlands,Polski" to='<txp:image name="it-small.gif" />,<txp:image name="nl-small.gif" />,<txp:image name="pl-small.gif" />'>
<txp:l10n_lang_list />
</txp:rah_replace>

I left out ‘tu’ and ‘sf’ in the example because they are not in the language list (that may also be related to your problem). Which languages are they, did you use the correct language codes? Can’t find them among the official languages.

Offline

#1793 2011-05-18 18:26:43

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

Re: MLP - The Multi-Lingual Publishing Pack

Thanks,

They are Turkish (tr) and Finish (sf). here is my MLP preferences Languages string en-gb,ca-es,de-de,es-es,fi-fi,fr-fr,pl-pl,pt-br,ru-ru,tr-tr

Offline

#1794 2011-05-18 18:53:07

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

Re: MLP - The Multi-Lingual Publishing Pack

What is also strange, when I use txp:l10n_lang_list it resolves the links as follows: <a href=“http://www.thumbguard.eu/ca/Images/cc.gif”>

I am wondering why there is /Images/cc.gif at the end, this happens for all languages. Almost tempted to start with a fresh TXP and MLP install.

Offline

#1795 2011-05-18 19:01:21

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

Re: MLP - The Multi-Lingual Publishing Pack

Exiladler wrote:

They are Turkish (tr) and Finish (sf). here is my MLP preferences Languages string en-gb,ca-es,de-de,es-es,fi-fi,fr-fr,pl-pl,pt-br,ru-ru,tr-tr

OK, but if you were using ‘tu’ and ‘sf’ in your manual links, that wouldn’t work of course. Have a look at l10n_langs.php, it contains the valid language codes and you should stick to those.

What is also strange, when I use txp:l10n_lang_list it resolves the links as follows: <a href=“http://www.thumbguard.eu/ca/Images/cc.gif”>

What is the exact code you are using now (rah_replace included)?

Offline

#1796 2011-05-18 21:51:07

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

Re: MLP - The Multi-Lingual Publishing Pack

<txp:rah_replace from="Italiano,Nederlands,Polski,Français,Suomi,Português,Русский,Türkçe,Català,English,Deutsch,Español" to='<txp:image name="it-small.gif" />,<txp:image name="nl-small.gif" />,<txp:image name="pl-small.gif" />,<txp:image name="fr-small.gif" />,<txp:image name="sf-small.gif" />,<txp:image name="pt-small.gif" />,<txp:image name="ru-small.gif" />,<txp:image name="tu-small.gif" />,<txp:image name="es-small.gif" />,<txp:image name="gb-small.gif" />,<txp:image name="de-small.gif" />,<txp:image name="es-small.gif" />
'>
<txp:l10n_lang_list wraptag="span" break="span" />
</txp:rah_replace>

(added bc. for better code display. -Els)

Last edited by els (2011-05-18 22:13:15)

Offline

#1797 2011-05-18 22:20:56

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

Re: MLP - The Multi-Lingual Publishing Pack

Exiladler wrote:

What is also strange, when I use txp:l10n_lang_list it resolves the links as follows: <a href=“http://www.thumbguard.eu/ca/Images/cc.gif”>

I am wondering why there is /Images/cc.gif at the end, this happens for all languages. Almost tempted to start with a fresh TXP and MLP install.

I looked at the site you mentioned, but can’t find a page where this happens. Can you provide a link?

Offline

#1798 2011-05-19 08:04:20

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

Re: MLP - The Multi-Lingual Publishing Pack

Sure, I use a subset at the moment until I get things working

http://www.thumbguard.eu/AAA

Offline

#1799 2011-05-19 09:38:37

Depot 1
Member
From: Copenhagen
Registered: 2011-01-03
Posts: 24
Website

Re: MLP - The Multi-Lingual Publishing Pack

The problem mentioned in post #1771 has been solved!
Els looked at the backend of my site and pointed out that I was missing the .htaccess file.
I’m working on Mac and since files starting with a ‘.’ does’nt show, I have missed the .htaccess when copying the Textpattern files to the server.
If others have the same issue, you can copy the content for the .htaccess (TXP 4.4.0) here and paste it into a text file. Save the file as ‘something.htaccess’, upload it to your server, and remove the ‘something’ from the file name on the server.

Thanks a lot Els for solving this for me!

Offline

#1800 2011-05-19 17:21:27

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

Re: MLP - The Multi-Lingual Publishing Pack

Thanks for posting the solution, Snorre! I wouldn’t have guessed for a moment that you’d still need the .htaccess even if you are using messy URLs. Learned something new :)

Offline

Board footer

Powered by FluxBB