Well, it actually _is_ multilingual... but the mechanism is quite "hidden" - as 
I said: It's a relict from old times.

If you have your products in the data repository in a folder /myshop/products 
you need to add a "myshop" mgnl:contentNode to config:/server/i18n/content and 
in it you place the languages you need. The multiLanguageEdit compares the name 
of the root folder with the folders found in config:/server/18n/content and 
sets up the input fields accordingly. :-)

Nowadays you have i18n settings in site definitions...

-will

On 18.03.2011, at 17:30, Benoit Segaert wrote:

> Will,
>  
> Thanks but the product description is not multilingual.
> I suppose that the only way to translate the Product info is to duplicate the 
> field in the dialog with _<language>.
> So the translation will be put into the repository and we will be able to use 
> i18n functionalities in the paragraphs.
>  
> Benoît
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Will Scheidegger
> Sent: vendredi 18 mars 2011 17:07
> To: Magnolia User-List
> Subject: Re: [magnolia-user] Magnolia Shop Module: dialog problem resolved
>  
> The MultiLanguageDialogEdit is a relict from old times before there was the 
> multi-language capabilities built into the Magnolia dialogs. It does exactly 
> the same except that all language variant fields are shown simultaneously: If 
> you have a title field and the languages "en", "fr" and "de" defined, it will 
> display 3 fields for "title_en", "title_fr" and "title_de".
>  
> What Theresa is trying to do right now is to get rid of such old relicts and 
> move to the "state-of-the-art".
>  
> -will
>  
> On 18.03.2011, at 16:58, Benoit Segaert wrote:
> 
> 
> Teresa,
>  
> How do you manage the multilingual with this module?
> I see the class MultiLanguageDialogEdit which is a control but it is not used 
> in the dialogs.
> Do you know how to use it?
>  
> Benoît
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Benoit Segaert
> Sent: vendredi 18 mars 2011 14:57
> To: Magnolia User-List
> Subject: RE: [magnolia-user] Magnolia Shop Module: dialog problem resolved
>  
> Teresa,
>  
> Can you explain me what you added? STK migration?
> Do you create an entrypoint for payment system?
>  
> The pom does not work because data module version and templating kit are not 
> present or correct
> It compile now.
> I will test it.
>  
> Benoît
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Teresa Miyar
> Sent: mardi 15 mars 2011 17:51
> To: Magnolia User-List
> Subject: RE: [magnolia-user] Magnolia Shop Module: dialog problem resolved
>  
> Hi,
>  
> I am currently working on the shop module to use stk templates. I think I 
> forgot to upload that class, will do tomorrow together with other changes.
>  
> Teresa
> From: Benoit Segaert [mailto:[email protected]]
> To: Magnolia User-List [mailto:[email protected]]
> Sent: Tue, 15 Mar 2011 17:15:26 +0100
> Subject: RE: [magnolia-user] Magnolia Shop Module: dialog problem resolved
> 
> 
> Will,
> 
> After multiple months, I come back for the shop.
> I tried to compile it but it seems that the followin class is no more 
> available : 
> info.magnolia.module.shop.util.ShopUtil
> 
> Br,
> Benoît
> 
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Will Scheidegger
> Sent: jeudi 21 octobre 2010 19:12
> To: Magnolia User-List
> Subject: [magnolia-user] Magnolia Shop Module: dialog problem resolved
> 
> 
> O.k., finally found the time to have a look at it. I bootstrapped a fresh 
> magnolia and ran through the steps in the INSTALL.txt and then tried to open 
> the product dialog, which did lead to a
> 
> info.magnolia.cms.beans.config.ConfigurationException: no dialog registered 
> for name: shopProduct
> 
> But looking at config:/modules/data/dialogs you will find a "shopProduct" 
> dialog there. So there must be some other problem with that dialog. So I 
> restarted Magnolia and hat a close look at the log... et voilà:
> 
> java.lang.ClassNotFoundException: 
> ch.fastforward.magnolia.module.utils.dialog.RootSpecificConfigurableTreeDialog
> 
> This should be
> 
> info.magnolia.module.shop.dialog.RootSpecificConfigurableTreeDialog
> 
> I now fixed the package names and checked to modified bootstrap files back 
> in. Since I gotta run now I did not have a chance to go through the 
> installation steps again. Please let me know when if things still should not 
> be working as expected.
> 
> -will
> 
> P.S.: We will be starting two new projects soon which will make use of the 
> shop module, so I guess you will see more updates from our side. However, 
> please provide your fixes, extensions, bells & whistles! I'll be happy to add 
> them to the project.
> 
> 
> On 17.10.2010, at 21:35, Giancarlo F. Berner wrote:
> 
> > 
> > Hi Will
> > 
> > I think what Benoit means is that no dialogs are registered.
> > 
> > In the Sample Shop menu click on "Products", then double-click on one of 
> > the products. I get the following error:
> > info.magnolia.cms.beans.config.ConfigurationException: no dialog registered 
> > for name: shopProduct
> > info.magnolia.module.admininterface.DialogMVCServlet.getHandler(DialogMVCServlet.java:72)
> > info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:110)
> > info.magnolia.cms.servlets.MVCServlet.doGet(MVCServlet.java:68)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> > and so on.
> > 
> > Cheers
> > /giancarlo
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>  
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>  
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>  
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>  
>  
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to