Community Documentation

05. Configuring a language selection block

Last updated February 9, 2008. Created by EdInJapan on February 1, 2007.
Edited by sepeck. Log in to edit this page.

Once the Localizer settings are complete, it is probably good to give visitors a way to easily switch between languages. With Localizer, this is done with a Language block.

Go to Administer > Blocks and enable the Language block (known as Select language prior to Localizer version 1.9) so that it will be visible to visitors. Configure the block as needed.

07Block

Comments

Language Block Horizontal Alignment

I wanted to know how to place the language block in one single line but I didn´t find tips from other users. However http://drupal.org/node/259609 gives us some clues in the topic.

Anyway, if you want to show the language block horizontally instead of the vertical alignment you can place this code at the bottom of your style sheet.

/**
* localizer horizontal alignment
*/
#block-localizer-0 {
margin: 1em 0 0em;
}
#block-localizer-0 *
{
display: inline;
color: #black;
}

Hope you like it!!!

Daniel A. Gaytan.
Posting from Monterrey Nuevo León México
My Drupal site: www.thewebmarketingservice.com

Daniel A. Gaytan.
Posting from Monterrey Nuevo León México
My Drupal site: www.thewebmarketingservice.com

Language Block Horizontal Alignment

Tks! I needed to twist it a bit to work.

/**
* localizer horizontal alignment
*/
#block-locale-0 {
margin: 1em 0 0em;
}
#block-locale-0 *
{
display: inline;
color: #black;

About this page

Drupal version
Drupal 5.x
Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
nobody click here