Yana wrote:Hi,
You can put it in your template or create a custom module.
Hi Yana, thanks for your reply. In the tmpl of the module "default.php" we have:
- Code: Select all
elseif ($look == 'dropdown') {
echo '<select onchange="doGTranslate(this);">';
[b]Here was the "select language" text[/b]
$i = 0;
foreach($lang_array as $lang => $lang_name) {
$show_this = 'show_'.str_replace('-', '', $lang);
$flag_y = $flag_map_vertical[$lang];
if($$show_this)
echo '<option value="'.$language.'|'.$lang.'" style="'.($lang == $language ? 'font-weight:bold;' : '').'background:url(\''.JURI::root(true).'/modules/mod_gtranslate/tmpl/lang/16l.png\') no-repeat scroll 0 -'.$flag_y.'px;padding-left:18px;">'.$lang_name.'</option>';
Sorry, I don't know how to show current active language with the flag, please see
http://negre.es/tienda/