Status: offline

moyashi

Forum User
Junior
Registered: 10/10/02
Posts: 16
Is there a way to have blocks per language. I noticed that postnuke has that nifty feature. I'm thinking of a business like situation. You have content designed for each language. Like a english school in Japan. You have the page in Japanese that would show what's happening for the students. While on the English page you could post for job openings and what not. Hmmm, this could be extended even for themes and content.

Status: offline

vinny

Site Admin
Admin
Registered: 06/24/02
Posts: 352
I think a simple way of doing this would be to create a php block that calls a php function that tests for the selected language, then outputs the appropriate wording/block content that want for that language. You'd want an if something like if ($_CONF['language'] == 'english') { echo 'english stuff'; } else { echo 'japeneese/other stuff'; }

Status: offline

moyashi

Forum User
Junior
Registered: 10/10/02
Posts: 16
Thanks, That definitely is an idea.