Hi Jean-Michel,<div><br></div><div>I've added the possibility to translate the SimpleTerm's like 'Named', 'Raw' etc like you mentioned, it's in trunk.</div><div><br></div><div>I don't have any issues with the insert image title. I checked in french and dutch and I get in both languages a translated title.</div>
<div><br clear="all">--<br>Rob</div><div><br><br><div class="gmail_quote">On Mon, Sep 7, 2009 at 3:34 PM, JeanMichel FRANCOIS <span dir="ltr"><<a href="mailto:jeanmichel.francois@makina-corpus.com">jeanmichel.francois@makina-corpus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Rob,<br>
<br>
I have an other issue with the translation: ploneimage.image_desc in the alt of the image button (toolbar). In english it's supposed to display "Insert/edit image". In the translation french translation it is supposed to display "Insérer/Éditer image". But it display "ploneimage.image_desc"<br>
<br>
First I have tryed by fixing the typo between "ploneimage.image_desc" (from js) and "ploneimage_image_desc" (from po) but it still fails.<br>
<br>
Any idea ?<br>
<br>
Rob Gietema a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi Jean-Michel,<br>
<br>
Thank you for adding the translations.<br>
<br>
You are correct with the first issue, I'll fix that.<br>
<br>
TinyMCE uses 2 i18n domains. The "tinymce" .po files are generated automatically based on the translations which are allready available for TinyMCE. The "plone.tinymce" domain contains the plone specific translations of TinyMCE and are the ones which should be translated.<br>
<br>
The .mo files are indeed compiled. Some product authors include them in svn others don't, I don't know what best practice is here.<br>
<br>
Cheers,<br>
<br>
Rob Gietema<br>
Four Digits<br>
<br>
<br></div><div><div></div><div class="h5">
On Fri, Sep 4, 2009 at 10:36 PM, Jean-Michel FRANCOIS <<a href="mailto:jeanmichel.francois@makina-corpus.com" target="_blank">jeanmichel.francois@makina-corpus.com</a> <mailto:<a href="mailto:jeanmichel.francois@makina-corpus.com" target="_blank">jeanmichel.francois@makina-corpus.com</a>>> wrote:<br>
<br>
Hi,<br>
<br>
I have added french translation to Products.TinyMCE trunk. It was<br>
kinda<br>
boring but it's done. If some french around want to check my work I<br>
would be glade to be reviewed.<br>
<br>
I have some strange issues and remarks to do:<br>
<br>
1)<br>
>From interfaces/utility.py line 407:<br>
vocabulary=SimpleVocabulary([SimpleTerm('named', 'Named'),<br>
SimpleTerm('numeric', 'Numeric'), SimpleTerm('raw', 'Raw')]),<br>
Means that terms can not be translated, isn't it ?<br>
---<br>
2)<br>
Every language under locales use tinymce.po as "tinymce" is the<br>
domain.<br>
But the template is only for "plone.tinymce" domain. I don't<br>
understand.<br>
Do the first has to be deleted ?<br>
---<br>
3)<br>
My last question is more a newb question about the i18n machinery. Why<br>
is the *.mo files are versionned ? As far as I know, Plone build<br>
the mo<br>
files when zope is starting up.<br>
<br>
<br>
--<br>
Cordialement,<br>
Jean-Michel FRANCOIS<br>
Makina-Corpus<br>
<br>
<br>
<br>
_______________________________________________<br>
Product-Developers mailing list<br>
<a href="mailto:Product-Developers@lists.plone.org" target="_blank">Product-Developers@lists.plone.org</a><br></div></div>
<mailto:<a href="mailto:Product-Developers@lists.plone.org" target="_blank">Product-Developers@lists.plone.org</a>><div class="im"><br>
<a href="http://lists.plone.org/mailman/listinfo/product-developers" target="_blank">http://lists.plone.org/mailman/listinfo/product-developers</a><br>
<br>
<br></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
Product-Developers mailing list<br>
<a href="mailto:Product-Developers@lists.plone.org" target="_blank">Product-Developers@lists.plone.org</a><br>
<a href="http://lists.plone.org/mailman/listinfo/product-developers" target="_blank">http://lists.plone.org/mailman/listinfo/product-developers</a><br>
<br>
</div></blockquote>
<br>
</blockquote></div><br></div>