This project is read-only.

Two languages ?

Jan 14, 2011 at 2:56 PM

Do you have a solution to publish page in two languages ?



Jan 15, 2011 at 6:42 AM

This is sort of hacky ... but within a single Page, you could include both languages.  The markup might look like:

<div class="lang-en">
	<p>more content</p>
<div class="lang-es">
	<p>mas contenido</p>

To get the DIVs in there, you'll probably need to click the HTML toolbar icon in the WYSIWYG editor.

Then you could create an Extension that handles Pages being served.  The extension can check the current culture of the user/request, or possibly even look for a particular querystring value, etc, and then based on what language it decides needs to be shown, can modify the content being served by removing the DIV you don't want to be displayed.

Jan 15, 2011 at 1:48 PM

OK, thanks. I test this !