Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#793 2008-06-23 06:36:55
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: MLP - The Multi-Lingual Publishing Pack
Thanks very much Steve, much appreciated.
Offline
#794 2008-06-23 13:11:21
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
All mass-cloning requesters
As I don’t really want to clutter the MLP Articles interface with lots of checkboxes and selects but do see the need to quickly populate a new language with renditions ready for translation; I was just wondering if a simple “Clone all from” button at the head of each language column would be sufficient to meet your needs?
Something like this…
And here is my proposed work-flow….
- Add site language via Txp prefs.
- Add new language to MLP prefs.
- Look at the MLP Articles tab and hit the “Clone all from” button.
- Pick the language to clone from.
The pack will then clone all that are needed (ie: where there is a rendition in the source language and no rendition in the target language) setting the status to draft
and without sending any emails about work assignments.
Simple and I think it should solve the major problem of quickly generating clones for translation. What do you all think?
Last edited by net-carver (2008-06-23 13:16:08)
— Steve
Offline
#795 2008-06-23 13:16:58
Re: MLP - The Multi-Lingual Publishing Pack
It’s a winner from this corner, nice idea.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#796 2008-06-23 13:20:23
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: MLP - The Multi-Lingual Publishing Pack
Looks very neat to me.
EDIT: Be cool if you could add in automatic translation :)
Last edited by lee (2008-06-23 13:23:41)
Offline
#797 2008-06-23 13:20:56
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Stef, Lee
Thank you.
All
Any other opinions? Will it meet your needs?
Last edited by net-carver (2008-06-23 13:21:51)
— Steve
Offline
#798 2008-06-23 13:37:08
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
Any other opinions?
Maybe this was discussed before, but I don’t like this:
<txp:l10n_if_lang lang="cs-cz" wraptag="">xxx</txp:l10n_if_lang>
I don’t want to use wraptag, is so, I can add this atribut, but by default it should be:
<txp:l10n_if_lang lang="cs-cz">xxx</txp:l10n_if_lang>
and if I want some wraptag:
<txp:l10n_if_lang lang="cs-cz" wraptag="div">xxx</txp:l10n_if_lang>
Last edited by beztak (2008-06-23 13:37:25)
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#799 2008-06-23 13:49:08
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Jirka
Noted. Any opinion about the clone-all-from feature we were discussing?
Lee
Sounds like you need to get Stef on the job. Sure he can send me a patch for that.
— Steve
Offline
#800 2008-06-23 13:57:09
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
Sounds like you need to get Stef on the job. Sure he can send me a patch for that.
:-) Je m’appelle Stef. Je suis un plugin-writer compliqué. Je suis desolé, mais je ne bon pas à Français :-D
Last edited by Bloke (2008-06-23 13:58:32)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#801 2008-06-23 14:26:22
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
— Steve
Offline
#802 2008-06-23 19:38:44
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: MLP - The Multi-Lingual Publishing Pack
Simple and I think it should solve the major problem of quickly generating clones for translation. What do you all think?
Sounds perfect!
Offline
#803 2008-06-23 20:49:49
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
That cloning compromise sounds good to me, Steve.
I like that it’ll sort out which ones don’t need to be cloned because they’re already present.
Yeah, and on the dreaming side, automatic translation sure would that make it all so much easier!
Offline
#804 2008-06-24 01:59:25
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Folks
Ok, no negative feedback yet so that’ll be the next feature into the pack.
FYI : I’ve implemented beztak (Jirka)’s suggestion and l10n_if_lang
now defaults to having a blank “wraptag” attribute. If you need the div
wrapper you’ll have to edit your pages/forms to add it in once this new version gets released.
FYI : I have also — following a frustrating time helping Lee with a client site — decided to add an option to ignore the visitor’s browser’s accept-language headers when deciding what language to serve the site in. This should simplify things for development and debugging — and possibly running your site. But I think once you have a stable site with all languages populated then honouring the browser’s language prefs would be better for first-time site visitors.
Anyway, the option will be there for you. I’m sure this was requested previously in this thread somewhere — but I’m not going to search for it — so kudos to the original suggester(s), whoever you were.
— Steve
Offline