Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#931 2008-09-18 18:14:04

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: MLP - The Multi-Lingual Publishing Pack

Steve,
first of all thank you again for your quick answer.
I’m sorry but I’m on a local server and I can’t upload to a live one now.
Anyway, if you say that shouldn’t be happening I think it’s probably something caused by me.
More specifically I suspect this can be the cause: as I said I imported a lot of articles using php and sql queries following this route:
1) imported all articles in a specific language (let’s say in italian) to the “textpattern” table
2) copied all the contents of the textpattern table to the “l10n_txp_it_it” table
3) filled all the fields of the “l10n_articles” table (I think here I made a mistake – more on that later)

at this point all my articles are showing under the “articles” subtab in italian but when I try to clone some of them I have the scenario described in my previous post.

Coming back to what is probably my mistake, I filled the field “members” in the “l10n_txp_it_it” table with a rather empirical formula similar to this: “a:1:{s:5:\“it-it\”;i:$id;}”;
where I suppose “a” is the number of renditions (in this case 1);
“it-it” is the language
$id is the “l10n_group” value for each corresponding article in “textpattern” table
“s” is ???? – I tought at first it was the section but then I found it wasn’t, so I’ve set it to be “5” for all entries.
could it be that this was my error? what the “s” stands for?
Thank you anyway for your help

Offline

#932 2008-09-18 18:42:36

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi there,
Textpattern beginner here :-)
Sorry if maybe it’s very obvious but I was wondering how to style the l10n_lang_list menu – is there a specific CSS file for that?
I searched this thread but couldn’t find an answer…

Never mind, I found how to do it: just added a l10n_lang_list class in my style sheet :-)
Cheers,
Ben P.

Last edited by ploinkr (2008-09-18 19:26:34)

Offline

#933 2008-09-19 13:39:29

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: MLP - The Multi-Lingual Publishing Pack

Steve,
only to simplify my first post,
the problem is whatever rendition I click on “articles” sub-tab the language popup in the “write” tab defaults to the last selected languange.
In other worlds it doesn’t seem to change accordingly to the rendition I’m editing.
Thank you

Last edited by redbot (2008-09-19 14:39:47)

Offline

#934 2008-09-22 09:27:39

Si
Member
From: Kiev
Registered: 2008-08-31
Posts: 45
Website

Re: MLP - The Multi-Lingual Publishing Pack

I tried the search, but couldn’t find the answer.

Can MLP be used with rss_unlimited_categories to support translations of category names? Currently tags like rss_uc_filedunder or rss_uc_list output category names in default language only :(
I realise that there is a different db table for the rss_ plugin, but maybe there is a workaround?

Offline

#935 2008-09-23 16:47:09

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: MLP - The Multi-Lingual Publishing Pack

hi, i have installed the pack but cant get it working. Im having problems getting my head around it.
Are there any more documentation/tuts for dummies other than the ones included with the install?
thanks


its a bad hen that wont scratch itself.
photogallery

Offline

#936 2008-09-25 15:00:48

goncalo.dumas
Member
From: Lisbon
Registered: 2005-12-14
Posts: 97
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hello, I’m loving this plugin of yours more and more everyday.

Today I’ve stumble upon the new l10n_permlink tag witch I didn’t understood.

There are some attributes that do not work, that is, independently of how many values I give to those attributes, this tag only returns an address, not a fully functional anchor. It would be very nice to have a tag that would create an anchor element that could return the localized title of the article and an active status class, like this:

<txp:l10n_permlink articleid="2" title="1" active_class="active" />

would return – if active, this:

<a href="bla bla" class="active">Title</a>

Still, it’s a great development, Thanks.

Offline

#937 2008-09-25 15:10:41

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi patchwork,

have you tried using it as a container tag?
<txp:l10n_permlink articleid="2" title="1" active_class="active">##terms_and_conditions##</txp:l10n_permlink>

Last edited by maniqui (2008-09-25 16:21:11)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#938 2008-09-25 16:00:51

goncalo.dumas
Member
From: Lisbon
Registered: 2005-12-14
Posts: 97
Website

Re: MLP - The Multi-Lingual Publishing Pack

maniqui wrote:

have you tried using it as a container tag?
<txp:l10n_permlink articleid="2" title="1" active_class="active">##terms_and_conditions</txp:l10n_permlink>

Hello, no I haven’t tried that as a container tag, but I did now ;-)

There is no “active_class” attribute/behaviour in this tag, yet, so that didn’t work. But it did build an anchor element that included the “Title”, “Class” and “Style” attributes.

The Title attribute didn’t work like in the txp:section tag where it returns the human readable title of the section beeing called, it worked like a anchor attribute.

The non-container method would not need to use a snippet (e.g. ##lorem##) as a title since it would be feched from the title of the rendition belonging to the article ID specified in the “articleid” attribute.

Offline

#939 2008-09-25 18:32:01

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

Re: MLP - The Multi-Lingual Publishing Pack

patchwork wrote:

There is no “active_class” attribute/behaviour in this tag, yet, so that didn’t work. But it did build an anchor element that included the “Title”, “Class” and “Style” attributes.

Oh, I just copied from your post. Didn’t know if there was or not an active_class attribute. And no, there is not. And I don’t think there is any reason to have one.

The Title attribute didn’t work like in the txp:section tag where it returns the human readable title of the section beeing called, it worked like a anchor attribute.

Ah, this is where you seem to be confused. This title attribute is related to the title attribute (aka tooltip) for a element, not to any inner given title for the article. In other words, it’s not related to txp:title at all.

The non-container method would not need to use a snippet (e.g. ##lorem##) as a title since it would be feched from the title of the rendition belonging to the article ID specified in the “articleid” attribute.

Although, that could be cool: to be able to use txp article tags inside i10n_permlink, because i10n_permlink knows which article needs to fetch, so it could do some magic query to bring some article fields.
Maybe, it’s already implemented and you could try it and report back to see if it works.
Also, I think txp:permlink tag on future TxP 4.0.7 will have this ability.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#940 2008-09-27 15:41:47

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi finally got the plug-in working.

I was using MAMP to test locally and for some reason it didn’t work, (i didn’t think that classified as a submap, but i guess it did). I just put everything on line and it worked fine out of the box! Clever stuff. THX.


I think, therefore I AM, … … er … I think :-?

Offline

#941 2008-09-27 15:44:14

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: MLP - The Multi-Lingual Publishing Pack

Just a quick question, is there a repository of langauge strings for the plug-ins:-
1. |10n [admin]
2. zem_contact_lang-mlp [public]

I looking for the Dutch (NL) strings


I think, therefore I AM, … … er … I think :-?

Offline

#942 2008-09-27 21:54:57

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

Re: MLP - The Multi-Lingual Publishing Pack

@Timid&friendly:

there is this thread: MLP Users’ String Exchange

@netcarver

I’m a little confused about the version of gbp_admin_library shipped with the MLP.
It says it’s version 0.4.1 but I believe that this “0.4.1” version is newer than the 0.4.669 version (latest release by Graeme).

Even, I’ve been looking at old MLP releases, and those releases include versions numbers highter than “0.4.1”. Example: MLP 0.6.602 (a really old one) includes gbp_admin_library 0.4.581.

If my maths aren’t wrong: 0.4.1 < 0.4.581 < 0.4.669.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#943 2008-09-28 06:35:51

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: MLP - The Multi-Lingual Publishing Pack

@maniqui
Cheers! I guess i’ll do the dutch translation then lol. I’m not a native dutchman but know enough, it should be almost perfect Dutch.


I think, therefore I AM, … … er … I think :-?

Offline

#944 2008-09-28 15:37:56

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

Re: MLP - The Multi-Lingual Publishing Pack

David, I am working on the Dutch localization currently. If you’re not in a very big hurry you might want to save yourself the effort ;)

Offline

#945 2008-09-28 15:55:19

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: MLP - The Multi-Lingual Publishing Pack

I’m not in a big hurry, and i would very much like to save myself the effort ;-)

… May i be so bold as to ask you to possibly give an indication as to when you think you may have this done :-?


I think, therefore I AM, … … er … I think :-?

Offline

Board footer

Powered by FluxBB