Jump to content

[RESOLVED] Front office translations missing in 1.7 translator page


Diemux
 Share

Recommended Posts

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

Naamloos.png

I'm using 1.7.6.4 in a Multistore environment. I tried to edit from both the store and "All stores". 

Edited by Diemux (see edit history)

Share this post


Link to post
Share on other sites

translation.png

I´m looking for the translation of 'tax-shipping-delivery-label'. 

Screenshot-1.png

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.

Share this post


Link to post
Share on other sites

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 by Diemux (see edit history)

Share this post


Link to post
Share on other sites

  • 9 months later...

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?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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