Plone i18n overrides

2 Messages Forum Options Options
Permalink
Tarmo Toikkanen-2
Plone i18n overrides
Reply Threaded More
Print post
Permalink
Hi all. I'd just like to verify the correct way of overriding existing  
Plone translations. I've noticed that placing a plone-XX.po file in  
the i18n folder of another product seems to cause Plone to use that.  
Is this intentional or not, and does it always work, or does it depend  
on the order in which Zope products get initialized? And if this is  
not the correct way, what is?

--
Tarmo Toikkanen
tarmo@...
http://tarmo.fi


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Plone-i18n mailing list
Plone-i18n@...
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Maurits van Rees-3
Re: Plone i18n overrides
Reply Threaded More
Print post
Permalink
Tarmo Toikkanen, on 2008-04-10:
> Hi all. I'd just like to verify the correct way of overriding existing  
> Plone translations. I've noticed that placing a plone-XX.po file in  
> the i18n folder of another product seems to cause Plone to use that.  
> Is this intentional or not, and does it always work, or does it depend  
> on the order in which Zope products get initialized? And if this is  
> not the correct way, what is?

For overwriting, it depends on the order.  Basically the same question
was asked here about a week ago I think, so look in the archives for a
small discussion.

Since the order in which the products gets initialized can differ per
operating system, the recommended way is to put overwriting
translations in the i18n/ directory in your zope instance, so next to
the Products, etc, log and var directories.  If the i18n directory is
not there, simply create it.

--
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Plone-i18n mailing list
Plone-i18n@...
https://lists.sourceforge.net/lists/listinfo/plone-i18n