Diemux Posted December 10, 2020 Share Posted December 10, 2020 (edited) I tried some google searching and found a few people with the same problems but no answer. I need to translate a few front office translations (like the tax label of the product price) but in the translator back office I can't select Front Office Translations. Screenshot: https://ibb.co/2YsVXb9 I'm using 1.7.6.4 in a Multistore environment. I tried to edit from both the store and "All stores". Edited December 14, 2020 by Diemux (see edit history) Link to comment Share on other sites More sharing options...
Diemux Posted December 14, 2020 Author Share Posted December 14, 2020 Nobody? Link to comment Share on other sites More sharing options...
JBW Posted December 14, 2020 Share Posted December 14, 2020 It's called "Themes translation" instead of Frontoffice Link to comment Share on other sites More sharing options...
Diemux Posted December 14, 2020 Author Share Posted December 14, 2020 But I´m missing translations... For example the tax label below the product price. It was included in the language pack but I can´t find it in the backoffice. Link to comment Share on other sites More sharing options...
JBW Posted December 14, 2020 Share Posted December 14, 2020 Please show us what exactly you are looking and where you are searching in the translations Link to comment Share on other sites More sharing options...
Diemux Posted December 14, 2020 Author Share Posted December 14, 2020 I´m looking for the translation of 'tax-shipping-delivery-label'. But the only "belasting" (Dutch for tax) I can find is the one above. I searched in all available translation options. I checked the source file and it's not a hard coded text. It's in product-prices.tpl which shows: <div class="tax-shipping-delivery-label"> {if !$configuration.taxes_enabled} {l s='No tax' d='Shop.Theme.Catalog'} {elseif $configuration.display_taxes_label} {$product.labels.tax_long} {/if} {hook h='displayProductPriceBlock' product=$product type="price"} {hook h='displayProductPriceBlock' product=$product type="after_price"} {if $product.additional_delivery_times == 1} {if $product.delivery_information} <span class="delivery-information">{$product.delivery_information}</span> {/if} {elseif $product.additional_delivery_times == 2} {if $product.quantity > 0} <span class="delivery-information">{$product.delivery_in_stock}</span> {* Out of stock message should not be displayed if customer can't order the product. *} {elseif $product.quantity <= 0 && $product.add_to_cart_url} <span class="delivery-information">{$product.delivery_out_stock}</span> {/if} {/if} </div> So that's the variable $product.labels.tax_long. Link to comment Share on other sites More sharing options...
JBW Posted December 14, 2020 Share Posted December 14, 2020 Guess you are looking for this!? Shop->Theme->Global Link to comment Share on other sites More sharing options...
Diemux Posted December 14, 2020 Author Share Posted December 14, 2020 Nothing tax related under Shop->Theme->Global... A searchon "belasting" only gives me one result as shown in my previous post. Link to comment Share on other sites More sharing options...
JBW Posted December 14, 2020 Share Posted December 14, 2020 Search for "tax included" and make sure you are editing classic theme 1 Link to comment Share on other sites More sharing options...
Diemux Posted December 14, 2020 Author Share Posted December 14, 2020 (edited) 13 minutes ago, JBW said: Search for "tax included" and make sure you are editing classic theme Well there is the answer. I was editting my own theme, not classic. So translations from the classic theme are somehow shared with the other themes? Seems like a weird construction. Thank you for the help! Edited December 14, 2020 by Diemux (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted December 15, 2020 Share Posted December 15, 2020 16 hours ago, Diemux said: So translations from the classic theme are somehow shared with the other themes? Seems like a weird construction. I think it will be finally fixed in 1.7.7.1 according to https://github.com/PrestaShop/PrestaShop/issues/9818 (this issue is from 2017 :o) Link to comment Share on other sites More sharing options...
jc.rangon Posted October 13, 2021 Share Posted October 13, 2021 Hello, issue still not fixed as of 1.7.7.8 In a new theme directly derived from the Classic theme, I am overriding CustomerLoginFormatter.php and created a placeholder entry in ->setAvailableValues... The translation should be in shop.Forms.labels, but cannot find it. I found the translations for the labels 'Password' and 'Email' in Admin.Global where they are sent to the ->trans method under shop.Forms.Labels ... this is becoming annoying. Is there anyway to directly xreate a translation without having to insert manually in the database? 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