List Info

Thread: Re: Translation of egg-based products




Re: Translation of egg-based products
country flaguser name
Norway
2008-03-18 07:48:29
Martin Stadler wrote:
> Am 18.03.2008 um 12:04 schrieb Hanno Schlichting:
>> Martin Stadler wrote:
>>>
>>> Workflow
>>> --------
>>>
>>> Creating an old-style product just to add these
few terms to the  
>>> plone
>>> i18n domain seems to be the only solution.
> 
> Is there a reason why it is impossible to use my own
i18n domain in my  
> workflow as I can in ATConentTypes? I don't see why the
state and  
> transition terms of my product go into the plone
domain. If it were  
> possible there wouldn't be the need to combine
different domains in  
> one egg.

There are still a lot of places in Zope/Plone which do not
use Zope3 
Messages but simple text. For a simple text string the i18n
domain used 
to translate it, is the one defined in the template which
renders the 
text. As the templates are part of Plone, the plone domain
is used.

We have changed a whole lot of code already to use Messages
(which are 
basically just a text plus a domain) instead of plain text,
so you can 
use your own domain in a variety of places. This transition
has started 
with Plone 2.5, but so far not all code has been updated.
Especially 
code that originates from CMF has seen little change which
includes 
everything related to workflows, types and to some degree
actions.

The situation we are in right now isn't very fortunate, but
the result 
of being in the middle of an evolutionary approach into the
direction of 
'all-messages'.

Hanno


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-i18n mailing list
Plone-i18nlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n

[1]

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