Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#496 2007-12-19 16:11:14

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

All

just back from a trip abroad so sorry for the delay in replying to this.

I just posted the compressed version of the plugin on the Pack’s homepage for anyone experiencing Edemay’s syndrome.


Steve

Offline

#497 2007-12-19 16:16:41

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

ultramega wrote:

I have massive amount of articles. Is there possibility in the future to search original article for cloning like is in the renditions tab? Even just Id or title-text would be very handy.

Hi Ultramega,

Yes, that sounds like a good idea. Consider it added to the feature request list — but let it be known that I am not, currently, working on this.


Steve

Offline

#498 2007-12-20 20:53:54

edemay
Member
From: Montréal
Registered: 2005-08-16
Posts: 27
Website

Re: MLP - The Multi-Lingual Publishing Pack

Back myself and thanks a bunch for the upload.

Offline

#499 2007-12-21 15:09:26

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Ultramega

I’m working on your feature request now.

All

I’m also making the snippet > search optionally target only the publicly available strings — should help prevent the selection of admin-only strings as snippets in your pages and forms.


Steve

Offline

#500 2007-12-21 16:51:30

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

All

Collect the latest release from the pack’s homepage

Thanks to Ultramega’s request, this version adds a ‘clone by id’ preference to the MLP > Preferences. Set that to “yes” and you’ll then get an extra form at the top of the articles table that allows you to enter any valid rendition id and start the cloning process as soon as you hit the “go” button.

It also adds a ‘limit search to public strings’ option. Setting this to “yes” will make the snippet > search tab do its searches only against publicly available strings. This means you won’t waste time using the search feature to choose strings for your pages/forms that cannot be displayed on the public interface.

Upgrade instructions here.

Note: this version includes several updated and new strings. If they don’t appear as they should on your installation, please feedback here.

Edited to add: This is the first build to include the l10n.txt plugin in compressed format by default.

Last edited by net-carver (2007-12-21 16:58:59)


Steve

Offline

#501 2007-12-27 10:31:57

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: MLP - The Multi-Lingual Publishing Pack

Hi Steve,

Can you tell me the best method to translate in 3 languages all ZCR labels with MLP ?

Tks lot for your help.

Best regards,


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#502 2007-12-27 10:37:53

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Patrick

One question before I give an answer…

Do you want to run a tri-lingual site with the MLP pack or are you wanting three translations of the ZCR strings for three mono-lingual sites?

Last edited by net-carver (2007-12-29 14:16:03)


Steve

Offline

#503 2007-12-27 10:51:34

beatfreak
New Member
Registered: 2006-03-02
Posts: 8

Re: MLP - The Multi-Lingual Publishing Pack

net-carver

I have deleted the plugin files and installed them again and I also updated all my templates. Problem seems to be fixed.
However there is still a blank line before my doctype but it is not causing any validation errors.

(I was editing my post at the same time as you were posting a reply in the other thread)

Offline

#504 2007-12-27 10:56:12

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

beatfreak

Ok, is that on a public facing website? If so can I wget the page and try searching the sources for the byte pattern that’s appearing on the first line?

Also, if you have the inclination, you could try the exercise I suggested in the other thread to try and eliminate plugin compression as the culprit.

Many thanks,


Steve

Offline

#505 2007-12-27 11:34:56

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote:

Patrick
One question before I give an answer…
Do you want to run a tri-lingual site with the MLP pack or are you wanting three mono-lingual translations of the ZCR strings for three mono-lingual sites?

First of all, Tks for your reply Steve.

Yes, I’m trying to use ZCR within a tri-lingual website with your [very best] MLP pack. I’d changed all the ZCR strings for that, but I can’t render the corresponding labels into the 3 translations (i.e. Name, Phone and so on…).

Cheers,

Last edited by Pat64 (2007-12-27 11:35:33)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#506 2007-12-27 11:41:45

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Patrick

You’ll probably need to use the snippet feature on your form that has the zem_contact tags in it.

Could you post your form here and I’ll take a look.


Steve

Offline

#507 2007-12-27 11:51:17

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: MLP - The Multi-Lingual Publishing Pack

Oops, Steve! I don’t use a form for my contact mailer : I’d put it directly into a page :(

BTW, here is the content :

  <div id="contact">
<h1><txp:text item="Contact_H1" /></h1>
  <txp:zem_contact to="contact@mysite.com">
  <p>&nbsp;&nbsp;<txp:text item="Votre" /> <txp:zem_contact_text break="" required="0" label="Nom" /></p>
  <p><span class="hot">*</span> <txp:text item="Votre" /> <txp:zem_contact_email label="E-mail" break="" /></p>
  <p>&nbsp;&nbsp;<txp:text item="Votre" /> <txp:zem_contact_text label="Téléphone" min=7 max=15 break="" /></p>
  <p><span class="hot">*</span> <txp:text item="Votre" /> <txp:zem_contact_textarea label="Message" required="1" break="br" /></p>
  <p id="anti-spam"><span class="hot">*</span> <txp:text item="Anti-spam" /><br /><txp:zem_contact_checkbox label="Je suis un être humain" /><br />
<span id="info-spam"><txp:text item="Check" /></span></p>
  <p><txp:zem_contact_submit label="Envoyer" /></p>
<p><span class="hot">*</span> <txp:text item="Obligatoire" /></p>
</txp:zem_contact>
</div> <!-- /contact -->

Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#508 2007-12-27 11:54:12

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Patrick

We can sort this out quite easily using the ##snippet## format. It’s time for me to put my daughter to bed so I’ll have to delay posting a reply for an hour or so.


Steve

Offline

#509 2007-12-27 11:56:49

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: MLP - The Multi-Lingual Publishing Pack

Ok. Don’t forget to kiss your daughter. And wish her some good dreams :)

Tks lot, Steve.

Best regards,


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#510 2007-12-27 12:33:36

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Patrick

This should do the trick…

  1. Make sure you have Content > MLP > Preferences > Inline editing of pages and forms set to “Yes”. If not, set it to yes and save the preferences (Don’t miss that bit!)
  2. Navigate to Content > MLP > Snippets > Pages and click on the page that has your ZCR tags in it.
  3. Look at the middle column. The second link down should read “Edit Page: your_page »” — click that link and your page will appear in a textarea in the right-hand column.
  4. Change all the label="blahblah" (etc) over to label="##a_snippet_id##" — note each snippet id (the string within the ##...## block) should be different. When you save this page you will create new strings in the txp_lang table using those names.
  5. You should probably give your new strings meaningful names based on your primary language: French. (ie. Change <txp:zem_contact_text break="" required="0" label="Nom" /> to <txp:zem_contact_text break="" required="0" label="##zcr_label_nom##" />)
  6. Change the rest of the labels using whatever scheme you come up with above.
  7. Save the form.

Saving the form will cause all the new zcr_label_ strings to appear as “snippets” in the middle column.

Now you can click on each snippet in turn to edit each rendition.

Should be easy.


Steve

Offline

Board footer

Powered by FluxBB