Ciao.

Sto aggiungendo il supporto multilingue a un progetto Python.

Ho contrassegnato tutte le stringhe che devono essere tradotte.

Ne ho due tipi:

1. print(_("Stringa in stampa"))

2. MENU={"m":_("Stringa nel menu")}

Durante la creazione del file .pot dal sorgente, pybabel ha preso correttamente il tipo 1 ma ha saltato il tipo 2.

Come risolverlo?

Grazie.Gabe.
--
Gabriele Battaglia (IZ4APU)
--... ...-- -.. .  .. --.. ....- .- .--. ..- - ..- . .
Inviato dal mio PC desktop gigante

--
Gabriele Battaglia (IZ4APU)
--... ...--  -.. .  .. --.. ....- .- .--. ..-  - ..-  . .
Sent from my Giant Desktop PC

_______________________________________________
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python

Rispondere a