Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#751 2008-06-15 16:19:08
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
That’s great! Thanks, again, Steve.
Offline
#752 2008-06-15 19:08:48
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: MLP - The Multi-Lingual Publishing Pack
Feature request: Any chance the l10n_lang_list tag could have an option to be output as a select box?
Thanks
Lee
Offline
#753 2008-06-15 19:17:03
Re: MLP - The Multi-Lingual Publishing Pack
lee wrote:
Any chance the l10n_lang_list tag could have an option to be output as a select box?
I have done this on an old version of the pack (circa TXP 4.0.4/4.0.5) and it’s not tricky — just required break and wraptag adding and a bit of conditional logic — but I couldn’t keep up with Steve’s feverish release schedule back then, so it kinda got left behind :-)
I could dig the code out if anybody wants it (Steve?) but whether it’s much good as a diff now that the pack has changed so much is questionable.
Last edited by Bloke (2008-06-15 19:17:27)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#754 2008-06-16 01:36:44
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Lee/Stef
Yeah, it’s about time that was an option for the tag. Will look into it.
I’ll give you a shout if I need the code Stef (IIRC, I think it’s in my email folder somewhere.)
— Steve
Offline
#755 2008-06-16 06:16:05
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: MLP - The Multi-Lingual Publishing Pack
Thanks Steve.
Offline
#756 2008-06-16 08:17:03
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
I’ll give you a shout if I need the code Stef (IIRC, I think it’s in my email folder somewhere.)
Should be, yeah but I think there was an accessibility issue with the way I did that version insofar as it auto-changed on select. There should probably be an optional “go” button (or equivalent) for people that wish to make accessible sites in browsers like IE that don’t allow keyboard users to traverse a list without first “opening” it with some key combo like alt-down-arrow.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#757 2008-06-16 15:56:08
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Stef
thanks, I missed that when I merged your code. Will look into it.
— Steve
Offline
#758 2008-06-16 17:13:13
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
All
Updated the updates post so you can see what’s been going on.
I still have to work on some URL rewrites (picking up where I left off a couple of months back) before I’ll build the next release.
Last edited by net-carver (2008-06-16 17:13:57)
— Steve
Offline
#759 2008-06-16 21:11:45
Re: MLP - The Multi-Lingual Publishing Pack
Here, here! Me, me!
Any chances to include this requests (at least, as closed/rejected ;)) on the updates post?
<txp:l10n_if_article_lang> and <txp:l10n_get_article_lang />: here and here
Steve please, could you give some insight/opinions/feedback about this test (renditions belonging to different sections)?
The post is here
Thanks!
Last edited by maniqui (2008-06-16 21:12:11)
Offline
#760 2008-06-16 21:24:36
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
Updated the updates post so you can see what’s been going on.
Thanks Steve. Nice to see the latest status.
As an aside, if I was a betting man I’d say that the new plugin load order feature of TXP 4.0.7 will solve a number of issues, especially with other plugin compatibility, and perhaps even URL rewrites.
Being able to schedule the gbp_admin_library and/or the MLP pack as early starters should resolve some obscure issues and give a good baseline for testing corner cases (e.g. “ensure MLP is the only priority 1 plugin, then see if…”)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#761 2008-06-17 05:12:15
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
maniqui
hello again. Ok, I’ll look into those when I’ve finished my latest set of changes. FYI, I’m re-writing the mlp url handler at the moment to fix a bunch of problems Kjeld found some time ago. After that I intend updating sed_afu for 4.0.6+,
Stef
Already done in the source. In fact, I had already made a change to make sure mlp’s pretext() routine is always the first called, irrespective of plugin load order (even before there was such a thing.)
— Steve
Offline
#762 2008-06-17 08:50:41
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
I had already made a change to make sure mlp’s
pretext()routine is always the first called, irrespective of plugin load order
Way cool; didn’t realise but I should have figured you’d be several steps ahead of the game :-)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#763 2008-06-17 10:29:29
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: MLP - The Multi-Lingual Publishing Pack
Was there somewhere guide how to add languages to MLP? I installed german from txp-prefs, but next what? How the new table for it is created, what is correct mysql character set for that table and what should the lang code for german be?
Last edited by ultramega (2008-06-17 10:37:57)
Offline
#764 2008-06-17 13:47:17
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
ultramega
You need to add the string “de-de” (without the quotes) to the Content > MLP > Preferences > Languages preference and then save it. That should take care of creating a new language table for you. Just take a look at the Content > MLP > Articles tab and you should then see a new column for German.
After that it’s a matter of either cloning existing renditions into German for translation or just starting a new rendition in German by visiting the Content > Write tab.
— Steve
Offline
#765 2008-06-17 14:05:14
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: MLP - The Multi-Lingual Publishing Pack
Ahaa, ok! Does that create new table with right character settings too (not sure what it should be for german…)? Thanks for helping!
Offline