Did you read http://www.satchmoproject.com/docs/svn/translation.html?
You see it depends where the translated string originally comes from. If it
is from somewhere inside the Django code -> then you should offficially
change it with Django (Ticket), if from Satchmo code then I would suggest to
add a ticket with Satchmo. If the source is inside your application/project
then you just change it locall with poedit or similar tools and you are
done.
This implies that you have three (or more) po/mo files. One in
..django/conf/locale, one in ..satchmo/locale and one in your projects
locale directory.
Please note that it is important how the different apps are ordered in the
settings.py INSTALLED_APPS as this impacts the translation. You should have
first satchmo and then you app.
INSTALLED_APPS = (
'django.contrib.admin',
....
'satchmo',
'satchmo.caching',
....
'your_app',
....
'Other_helpers')
If I remember correctly the reason is that when the translation engine looks
up the search goes up the application tree/list. Thus it looks up first your
app and if it finds something useful it doesn't look up more.
This should also enable you to override Django/Satchmo values - but not too
sure anymore if this is correct.
Rgds
G
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[EMAIL PROTECTED]
Im Auftrag von Alessandro
Gesendet: Montag, 03. November 2008 11:15
An: Satchmo users
Betreff: Other translated string
I must add some more translated string to the default django.po, but I don't
want to overwrite the default one.
Is it possible to define another translation file, and overwrite the
translation strings on django.po when it's on my-django.po?
If it's possible, what must I configure?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'ambiente: se non ti è necessario, non stampare questa mail
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Satchmo 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/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---