Posted on: 11/20/02 09:02pm
By: moyashi
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.
language based blocks
Posted on: 11/21/02 07:27am
By: vinny
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';
}
language based blocks
Posted on: 11/21/02 07:52am
By: moyashi
Thanks,
That definitely is an idea.