Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] tt2-based i18n and draft po files ready

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun - CRU <address@concealed>
  • To: Chia-liang Kao <address@concealed>
  • Cc: address@concealed, address@concealed
  • Subject: Re: [sympa-dev] tt2-based i18n and draft po files ready
  • Date: Thu, 12 Jun 2003 12:10:45 +0200

Hi,

Chia-liang Kao wrote:

>I just finished converting the other templates besdies wwsympa
>to tt2 (sympa template and create_list_templates). also made the
>makefile `just works'. (finally!)
>
>the diff at http://ntu.clkao.org/tmp/sympa-tt2.diff.bz2 should
>apply cleanly on latest cvs HEAD.
>
>(the diff was generated by:
>svn diff http://svn.clkao.org/sympa/vendor/trunk
>http://svn.clkao.org/sympa/trunk )
>
>
We've just created a new 'sympa-tt2' branch on our CVS tree to work on
your proposed changes. It has your patch applied, based on the HEAD
version :
http://listes.cru.fr/cgi-bin/cvsweb.cgi/sympa/?only_with_tag=sympa-tt2

We won't have much time to work on it untill this summer, but at least
it is there, available to us and others for testing purpose. We can't
provide you with direct CVS write access on it because, as far as we
know, CVS does not allow to give special privileges on a branch. But you
can work on this branch and send us patches.
We hope to merge changes on TT2 branch as soon as we'll be assured to
provide full backward compatibility.

>some notes:
>
>* as already mentioned, the current po files are automatically
> extracted from the original translated templates. they might
> be inaccurate.
>
>
We'll have to check them to extract HTMl tags for instance...

>* the chain of responsibility feature of the files being overridible
> per list or per robot was not tested yet. I plan to use tt2's
> feature to make it cleaner than the current get_filename implementation.
>
>
Good, please let us know when you have an alternate solution for this.

>* the diff contains some changes not related to tt2:
> - rev 29: add tw to lang list.
> - rev 11: encode the subject after custom_subj handling
> - rev 11: use Encode::MIME::Header instead of MIME::Words to avoid
> encoding hazards
>
We'll have to apply these changes to the HEAD revision then.

>* check_perl_modules isn't updated yet to include Template checks.
>
>

Ok

>* the spacing bahaviour is a bit different from the sympa template.
> so text template (mostly message sent by sympa) might have extra
> spaces. but i've fixed things that would ruin the mail header
> because of blank lines. we could fix other stuff later.
>
Ok

>* work on translating the tw.po has been started. you might want to
> call for translaters for other languages if you think it's appropriate.
>
>
We'll wait untill the TT2/PO structure has been made compatible with
existing organisation. Verification, manual work and lots of testing...

>* customized template in the original format could be converted by:
> perl -Isrc -p -e 'require
> "src/tt2.pl";$_=Sympa::Template::Compat::_translate($_)'
> <old-template-to-convert>
>
>
Ok, but maybe the wiser solution would be to still recognise/parse old
template files. This way we won't break any customization job.

>that's exactly the pain with CVS. as you see, currently i'm using subversion
>to host my development, and regularly merges changes from cvs (as vendor
>branch). It'd be cool if the development of sympa switches to svn too, but
>that probably won't happen in the near future.
>
>

Probably not now, but if you have comparison elements and migration
instructions you can provide them.

>meanwhile, what summer development do you mean? :)
>
Our other activities make us busy all year long, summer is a quiet
period, appropriate for major developments on Sympa.

Thanks for your great work.

--
Olivier Salaun
Comite Reseau des Universites





Archive powered by MHonArc 2.6.19+.

Top of Page