miaral Posted February 22, 2012 Share Posted February 22, 2012 I added two fields below reference in Product Page as shown in the image. The issue I have is when I switch language the Location and condition label do not translate. The values for condition (new, used, etc.) do not translate either. This is added code for product.tpl <!-- Referencia --> <p id="product_reference" {if isset($groups) OR !$product->reference}style="display: none;"{/if}> <label for="product_reference">{l s='Reference :'} </label><span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span></p> <!-- Ubicacion] --> <p id="product_location" {if isset($groups) OR !$product->location}style="display: none;"{/if}> <label for="location">{l s='Location :'} </label><span class="editable">{$product->location|escape:'htmlall':'UTF-8'}</span></p> <!-- Condicion] --> <p id="condition_content" {if isset($groups) OR !$product->condition}style="display: none;"{/if}> <label for="condition">{l s='Condition :'} </label><span class="editable">{l s=$product->condition|escape:'htmlall':'UTF-8'}</span></p> I need this labels and condition values (New, Used, etc) to be translated on behalf the selected language. Thanks. Link to comment Share on other sites More sharing options...
miaral Posted February 23, 2012 Author Share Posted February 23, 2012 Now I was able to translate the labels, but I still cannot get translation for the condition values (new, used, etc) Link to comment Share on other sites More sharing options...
Rolige Posted February 24, 2012 Share Posted February 24, 2012 Eso no puedes traducirlo porque es un valor que esta tomando de la base de datos, puedes traducirlo pero de otra manera, aqui ayude a alguien con un caso igual, mira este post y cualquier cosa me avisas, saludos. http://www.prestashop.com/forums/topic/154624-nuevo-ocasion-reacondicionado-solucionado/page__fromsearch__1 Link to comment Share on other sites More sharing options...
miaral Posted February 27, 2012 Author Share Posted February 27, 2012 You are awesome. Now it is working great. Thank you very much. Link to comment Share on other sites More sharing options...
Runan Posted November 29, 2012 Share Posted November 29, 2012 (edited) Eso no puedes traducirlo porque es un valor que esta tomando de la base de datos, puedes traducirlo pero de otra manera, aqui ayude a alguien con un caso igual, mira este post y cualquier cosa me avisas, saludos. http://www.prestasho...__fromsearch__1 Hello. I have seen the possibility in the backoffice translation but the data in the translation seems to be correct and on my front office the value of the condition is always in english instead of french :-( Any ideas ? Edited November 29, 2012 by Runan (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now