Jump to content
Julein7201

translate login on homepage

Recommended Posts

Hi everyone,

 

As you can see on makershop.fr LOG IN is on top on the header, i would like to change LOG IN to make it "connexion" in french.

 

I tried translation on the back office but it is well translated... is my theme ? magari?

 

Thx :)

Share this post


Link to post
Share on other sites

i checked your website but unfortunately i don't see there any "LOG IN" button etc.

 

you removed it?

Share this post


Link to post
Share on other sites

your website looks like it is non default theme

so my question is:

 

this template uses block user info module to display log in button?

Share this post


Link to post
Share on other sites

your website looks like it is non default theme

so my question is:

 

this template uses block user info module to display log in button?

 

Nope, it uses the original module blockmyaccount, i cant find it in my modules, and so i cant install it

Share this post


Link to post
Share on other sites

i don't know what modules this theme uses so it's really hard to say what you have to change and why it doesn't appear.

Share this post


Link to post
Share on other sites

it uses blockmyaccount the original prestashop module, it is already set up to go in header but it does not appear on my website.

 

I have uninstalled it and install it and set it up to appear in header but still nothing shows up

Share this post


Link to post
Share on other sites

i think that this is not blockmyaccount.

 

header is a section to load css / js files.

 

you have to use top hook.

Share this post


Link to post
Share on other sites

OK the module was in fact block info customers (or something like this hard translation)

 

Now that it is back, how do i translate the "log in" into "connexion? thx :)

Edited by Julein7201 (see edit history)

Share this post


Link to post
Share on other sites

it's because it was not blockmyaccount module

as i said before, "LOG IN" button in the top section is usually related to the block user info module

Share this post


Link to post
Share on other sites

can you show the contents of this module .tpl file? blockuserinfo/blockuserinfo.tpl

Share this post


Link to post
Share on other sites

I think there is a problem :(

 

See "contact us" on the bottom right is a module that comes with the theme i can translate it either

see "my shopping cart" when you put your mouse on the basket = same

see newsletter module same cant translate :(

 

some of this module came with the theme...

 

i want to translate all this!

 

here is what you asked

 

{*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2012 PrestaShop SA
*  @version  Release: $Revision: 6594 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<!-- Block user information module HEADER -->
<div id="header_user">
<ul id="header_nav">
 {if !$PS_CATALOG_MODE}
 <li id="shopping_cart">
  <a href="{$link->getPageLink($order_process, true)}" title="{l s='Your Shopping Cart' mod='blockuserinfo'}">
  <span class="ajax_cart_quantity{if $cart_qties == 0} shidden{/if}">{$cart_qties}</span>
  <span class="ajax_cart_product_txt{if $cart_qties != 1} shidden{/if}">{l s='' mod='blockuserinfo'}</span>
  <span class="ajax_cart_product_txt_s{if $cart_qties < 2} shidden{/if}">{l s='' mod='blockuserinfo'}</span>
  <span class="ajax_cart_total{if $cart_qties == 0} shidden{/if}">
   {if $cart_qties > 0}
 {if $priceDisplay == 1}
  {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
  {convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)}
 {else}
  {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
  {convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)}
 {/if}
   {/if}
  </span>
  <span class="ajax_cart_no_product{if $cart_qties > 0} shidden{/if}">{l s='0' mod='blockuserinfo'}</span>
  </a>
 </li>
 {/if}
 <li id="your_account"><a href="{$link->getPageLink('my-account', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li>
</ul>
<p id="header_user_info">
 {if $logged}
  <a href="{$link->getPageLink('my-account', true)}" class="account hidden-phone"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>
  <a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout">{l s='Log out' mod='blockuserinfo'}</a>
 {else}
  <a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Log in' mod='blockuserinfo'}</a>
 {/if}
</p>
</div>
<!-- /Block user information module HEADER -->

Share this post


Link to post
Share on other sites

thanks,

 

i need one more information:

 

you pasted contents of modules/blockuserinfo/blockuserinfo.tpl

or: /themes/modules/blockuserinfo/blockuserinfo.tpl ?

Share this post


Link to post
Share on other sites

so if blockuserinfo.tpl file exist in your theme modules directory - this is correct one. can you paste contents of this file ?

Share this post


Link to post
Share on other sites

In theme/modules/blockuserinfo/ there s only a folder called translations with fr.php in no tpl file

 

and all the translation in the fr.php are correct but not reflected on the site :(

Edited by Julein7201 (see edit history)

Share this post


Link to post
Share on other sites

UP, it is the newsletter module now i cant translate, there is no change when i try the translation menu and change the translation :(

Share this post


Link to post
Share on other sites

when you go to the localization > translations (from first dropdown select installed modules translations)

you see the page where you can define translations for each module. If you search for blockuserinfo module, you see that "LOG IN" is translated there exactly as you want?

Share this post


Link to post
Share on other sites

It is OK now... but now the problem is about the newsletter module (it is still in english), am totally lost, ive tried everything ... LOG in is ok now... just newsletter to translate :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More