How create text block in more languages

Hello
I would like to ask you to help me with a problem.
I have 3 languages on my website installed.
Now i want to make a block with a introduction text.
How can i make a block with a introduction text.
I want to include ofcourse the 3 diferent languages and show depending of which languages a visitor choose.
When they choose Spanish ,i want to show the Spanisch text end so on.

A block with title,eg: welcome to....,And under this title the introduction text.
I hope you understand what i mean.

Thanks in advance.

Quote · 4 Apr 2010

As i see it you want to use the translation system within D7, right?

If yes, try creating a Language key with the introduction text in the 3 languages, then instead of the actual text put the key in the new block!

NickL

Quote · 4 Apr 2010

Yes thats correct D7.

How you tell it it looks simple but .....

What kind of block do i have to use,a HTML block?

And becuase i have three languages,i put three language keys in the block?

I am sorry,but all this is quit new for me.

Quote · 4 Apr 2010

Yes thats correct D7.

How you tell it it looks simple but .....

What kind of block do i have to use,a HTML block?

And becuase i have three languages,i put three language keys in the block?

I am sorry,but all this is quit new for me.

Yes give it a try

Quote · 4 Apr 2010

I will,thanks!

Quote · 4 Apr 2010

probably you need to use a PHP block, you can use this code


echo _t( "_Language_Key" );

Quote · 4 Apr 2010

Ok,and how can i make a php block in the mainpage menu?

I see a html block,but no php block.

Can you explain please,i realy cant get this working.

Quote · 4 Apr 2010

Read here:

http://www.boonex.com/unity/blog/entry/PHP_based_page_block_you_can_make_it_

Quote · 4 Apr 2010

Or you can add this to the page builder Deano's Add PHP Block

you can then add a PHP-block just like you do with a HTML-block in the page builder

Quote · 4 Apr 2010

Yes, Deano's Tools are of excellent work, they'll also be pretty helpfull

Quote · 4 Apr 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.