Jump to content

MENU PRINCIPAL EN INGLES - CÓMO LO HAGO?


kaluka

Recommended Posts

si el menu esta directamente pegado en el header.tpl de tu template, deberias poder traducirlo desde herramientas, traducciones, traducciones del front office. deberias pegarnos aqui el codigo para verlo. puede que esa un modulo de menu tambien

Link to comment
Share on other sites

Buenos días,

¿cómo hago para que mi menú principal y submenús me salgan en inglés cuando se da a la banderita "inglés"? me sigue apareciendo en español....

web: www.kaluka.es

muchas gracias

 

Hola,

 

Un off topic.

 

¿Como has realizado el menu ese con todo el ancho del menu al ver las subcategorias?

 

Si este no es el sitio adecuado, creo un tema nuevo.

Edited by Rubalcaba (see edit history)
Link to comment
Share on other sites

gracias por tu ayuda shacker... te lo agradezco muchisimo. Ahí va la copia del fichero header.tpl :

 

<head>

<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>

{if isset($meta_description) AND $meta_description}

<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />

{/if}

{if isset($meta_keywords) AND $meta_keywords}

<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />

{/if}

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />

<meta http-equiv="content-language" content="{$meta_language}" />

<meta name="generator" content="PrestaShop" />

<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />

<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />

<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />

<script type="text/javascript">

var baseDir = '{$content_dir}';

var baseUri = '{$base_uri}';

var static_token = '{$static_token}';

var token = '{$token}';

var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};

var priceDisplayMethod = {$priceDisplay};

var roundMode = {$roundMode};

</script>

{if isset($css_files)}

{foreach from=$css_files key=css_uri item=media}

<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />

{/foreach}

{/if}

<link href="{$css_dir}alysum.css" rel="stylesheet" type="text/css" media="{$media}" />

{include file="$tpl_dir./styles.tpl"}

{if isset($js_files)}

{foreach from=$js_files item=js_uri}

<script type="text/javascript" src="{$js_uri}"></script>

{/foreach}

{/if}

<script type="text/javascript" src="{$js_dir}jcarousellite_1.0.1.js"></script>

<script type="text/javascript" src="{$js_dir}jquery.scroll.min.js"></script>

{if isset($theme_settings)}{else}

{$theme_settings.logo_font = ''}

{$theme_settings.heading_font = ''}

{$theme_settings.text_font = ''}

{$theme_settings.back_color = ''}

{$theme_settings.pattern = ''}

{$theme_settings.logo_type = ''}

{$theme_settings.logo_size = ''}

{$theme_settings.logo_text = ''}

{$theme_settings.slogan = ''}

{/if}

{if isset($theme_settings.logo_font)}

{if $theme_settings.logo_font != "Georgia" && $theme_settings.logo_font != "LMRomanCaps10-Regular" && $theme_settings.logo_font !="ModernNo.20Regular"}

{literal}

<link id="gFontName" rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family={/literal}{$theme_settings.logo_font}{literal}">

{/literal}{/if}{literal}

<style id="gFontStyles" type="text/css">

a.logo{ font-family:"{/literal}{$theme_settings.logo_font}{literal}" !important; }

</style>

{/literal}

{/if}

{if isset($theme_settings.heading_font)}

{if $theme_settings.heading_font != "Georgia" && $theme_settings.heading_font != "LMRomanCaps10-Regular" && $theme_settings.heading_font !="ModernNo.20Regular"}

{literal}

<link id="gFontNameHeading" rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family={/literal}{$theme_settings.heading_font}{literal}">

{/literal}{/if}{literal}

<style id="gFontStylesHeading" type="text/css">

#columns h1, #columns h1 a, #columns h2, #columns h2 a, #columns h3, #columns h3 a, #columns h4, #columns h4 a, #columns h5, #columns h5 a, .layered_subtitle { font-family:"{/literal}{$theme_settings.heading_font}{literal}" !important; }

</style>

{/literal}

{/if}

{if isset($theme_settings.text_font)}

{if $theme_settings.text_font != "Georgia" && $theme_settings.text_font != "LMRomanCaps10-Regular" && $theme_settings.text_font !="ModernNo.20Regular"}

{literal}

<link id="gFontNameText" rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family={/literal}{$theme_settings.text_font}{literal}">

{/literal}{/if}{literal}

<style id="gFontStylesText" type="text/css">

.product_desc, #idTab1 p, .comment_details p, #newsletter_block_ext .indent p, #mycarousel a.f_title { font-family:"{/literal}{$theme_settings.text_font}{literal}" !important; }

</style>

{/literal}

{/if}

{$HOOK_HEADER}

{if $page_name == 'index' ||

$page_name == 'product' ||

$page_name == 'stores'

}

{assign var='idName' value='center_column_main'}

{else}

{assign var='idName' value='center_column'}

{/if}

{if isset($theme_settings.image_type) && $theme_settings.image_type == 1}

<link href="{$css_dir}square-images.css" rel="stylesheet" type="text/css" media="{$media}" />

<link href="http://fonts.googleapis.com/css?family=Didact+Gothic" rel="stylesheet" type="text/css">

{/if}

<!--[if IE 8]><link href="{$css_dir}ie.css" rel="stylesheet" type="text/css" media="{$media}" /><![endif]-->

</head>

 

<body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>

<!--<div class="preloader"> <div> <div> </div> <div></div> </div> </div> -->

{if !$content_only}

{if isset($restricted_country_mode) && $restricted_country_mode}

<div id="restricted-country">

<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>

</div>

{/if}

<div id="white_bg" {if isset($theme_settings.back_color)}style="background:#{$theme_settings.back_color}"{/if}>

<div class="{if isset($theme_settings.pattern)}back_{$theme_settings.pattern}{/if}" id="pattern">

<div id="page" class="clearfix">

<!-- Header -->

<div id="header">

{if isset($theme_settings.logo_type) && $theme_settings.logo_type == 0}

<a href="{$base_dir}" id="header_logo">

<!--<img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" />-->

<img class="logo" src="{$img_dir}logo.png?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" />

 

</a>

{else}

<a href="{$base_dir}" class="logo" id="header_logo"

{if isset($theme_settings.logo_color)}style="color:#{$theme_settings.logo_color}; font-size:{$theme_settings.logo_size}px"{/if}>

{if isset($theme_settings.logo_text)}

{$theme_settings.logo_text}

{/if}

</a>

{if isset($theme_settings.slogan)}

<span class="slogan"{if isset($theme_settings.logo_color)}style="color:#{$theme_settings.logo_color}"{/if}>{$theme_settings.slogan}</span>

{/if}

{/if}

{$HOOK_TOP}

</div>

 

<div id="columns" class="clearfix">

<!-- Left -->

{if $idName == "center_column"}

<div id="left_column" class="column">

{$HOOK_LEFT_COLUMN}

</div>

{/if}

<!-- Center -->

<div id="{$idName}">

{/if}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...