i18n collect and restructured templates

1 view
Skip to first unread message

Glauco

unread,
May 30, 2011, 8:05:21 AM5/30/11
to TurboG...@googlegroups.com
I'm founding this problem

"""
genshi.input.ParseError: not well-formed (invalid token): line 1, column 0,
"""

when i launch a collect command
"""
tg-admin i18n collect
"""


i18n try to read the file like a genshi template, but this is a sphinx
html template and sound like this:

"""
{# Filename: _templates/layout.html #}
{% extends "!layout.html" %}
....
"""

now, i 've tryed to use the -G and -K options but...
tg-admin: error: no such option: -G
tg-admin: error: no such option: -K

what is the best practise for tell to collect to scan
ONLY some directory? ( or to exclude others)

* TurboGears 1.1
* Genshi 0.6
* i18n (TurboGears 1.1)
* Python 2.6.5

Thank You
Gla

Il contenuto e gli allegati di questo messaggio sono strettamente confidenziali, e ne sono vietati la diffusione, la riproduzione e l'uso non autorizzato. Il suo contenuto non costituisce impegno da parte della Società salvo accordo scritto tra quest'ultima ed il destinatario. Qualora il presente messaggio Le fosse pervenuto per errore, La preghiamo di comunicare immediatamente al mittente l'errata ricezione e di distruggere quanto ricevuto (compresi i file allegati) senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non rivelare il contenuto della corrispondenza tra altri soggetti, salvo più grave illecito, ed espone il responsabile alle relative conseguenze.

This e-mail (and any attachment(s)) is strictly confidential and for use only by intended recipient(s). Any use, distribution, reproduction or disclosure by any other person is strictly prohibited. The content of this e-mail does not constitute a commitment by the Company except where provided for in a written agreement between this e-mail addressee and the Company. If you are not an intended recipient(s), please notify the sender promptly and destroy this message and its attachments without reading or saving it in any manner.
Any non authorized use of the content of this message constitutes a violation of the obligation to abstain from learning of the correspondence among other subjects, except for more serious offence, and exposes the person responsible to the relevant consequences.

Reply all
Reply to author
Forward
0 new messages