List Info

Thread: Plone i18n overrides




Plone i18n overrides
user name
2008-04-10 05:44:44
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
tarmoiki.fi
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;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Plone-i18n mailing list
Plone-i18nlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n

Re: Plone i18n overrides
user name
2008-04-10 15:30:13
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.or
g/
            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;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Plone-i18n mailing list
Plone-i18nlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )