Grupo Django napisaƂ(a):

> Can you please provide me some document where I can find some
> information and examples?

This is how this all gettext machinery works. It doesn't matter where in
the sources the key is located, if gettext finds the key, it will
replace it with its translated value or use the key if the translation
is missing.

The act of translation is unavoidable, so it doesn't matter if you use
database table with translations, or use gettext machinery and translate
the PO files, but it the gettext has ready-made infrastructure in Django
and you don't have to do anything special to get your texts translated,
providing you have done the translation. ;)

You can add the keys by just extracting the texts from database table,
then placing it in PO file (i.e. using some script). The PO file format
is simple and you'll find the description in any introductory text for
gettext, i.e. in http://www.gnu.org/software/gettext/manual/gettext.html

-- 
Jarek Zgoda

"We read Knuth so you don't have to."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to