32 messages in com.googlegroups.pylons-discussRe: Recent i18n Pylons changes| Subject: | Re: Recent i18n Pylons changes![]() |
|---|---|
| From: | Pedro Algarvio, aka, s0undt3ch (ufs-...@public.gmane.org) |
| Date: | 12/19/2006 12:54:03 AM |
| List: | com.googlegroups.pylons-discuss |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Max Ischenko wrote:
On 12/19/06, Shannon -jj Behrens
<jjin...@public.gmane.org> wrote:
I'm currently working on the extraction from genshi with help from http://genshi.edgewall.org/wiki/GenshiRecipes/Localization, but the regex presented there is too narrow. So far I've succeeded on extending it a bit more, I can now also match: _("A string which " "will become " "\"too big\" to 'keep it' " "in just one line." )
Evelind and myself did some work on string extraction and i18n for TurboGears, may be this can be helpful.
http://trac.turbogears.org/turbogears/browser/trunk/turbogears/toolbox/admi18n/catalog.py http://trac.turbogears.org/turbogears/browser/trunk/turbogears/command/i18n.py#L163
Hopefully, Pylons will support non-ascii msgids as well.
Max.
Last few days I've been looking quite a lot on those sources :)
- -- Pedro Algarvio __ ___ ___ _______ ___ __ | Y .' _| _ .-----.' _| |_ .-----.----.-----. |. | | _| 1___| _ | _| _|__| _ | _| _ | |. | |__| |____ |_____|__| |____|__|_____|__| |___ | |: 1 | |: 1 | |_____| |::.. . | |::.. . | ufs [AT] ufsoft [DOT] org `-------' `-------' ufs [AT] sapo [DOT] pt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFh6jCniPxVTX2hA4RApcZAKCIzNkZn+ugq7ZYP6aLpqirfbS8ngCdE34G /V/rvdwTqs21rtFSjNauSk0= =QGNI -----END PGP SIGNATURE-----




