Two languages ?

Jan 14, 2011 at 1:56 PM

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



Jan 15, 2011 at 5: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 12:48 PM

OK, thanks. I test this !