• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 21.11.18, 22:07
  • Opened by: Ales
  • Closed by: Marek
  • Closed on: 02.01.19, 14:27
  • Reason: Closed
  • Comment: Glad to help!

Ticket #13274 - Cart summary translation

Hi, I am trying to translate theme and I cannot find where to translate “items” in cart summary (see attachment). Can you help me, please?

Comments

Marek 22 Nov 2018, 11:53

Hi, Ales.
I have tried to find where it’s translation, but no success.
I have found where it’s located in the file /themes/alysum/templates/checkout/_partials/cart-detailed-totals.tpl
and looks like variable, not a string to translate:

{$cart.summary_string}

what means the translation is somewhere inside Prestashop.
Usually all wordings looks like this:

{l s='Sitemap' d='Shop.Theme.Global'}

I also tried to find it in the Classic theme, but the same result.
Please try to ask prestashop community, maybe they can advice something. This question is a mystery for me too

Ales 25 Nov 2018, 22:08

Ok, I will hide it.
Now, I am trying to find where is customer registration form translation (see attach). Its in customer-form.tpl but there are no fields directly, its probably loaded dynamically and cannot find it. I need change translation of some fields. Thank you.

Marek 26 Nov 2018, 10:44

You have to translate “Form Fields”. See more here https://alysum5.promokit.eu/promokit/documentation/#translation

Ales 02 Dec 2018, 23:50

I cannot find it. There is no such a group, see attachment. What is wrong? Thank you.

Marek 03 Dec 2018, 10:04

This question is not related to the theme. It a prestashop “feature”. I have found out solution here https://www.prestashop.com/forums/topic/586002-where-do-i-manually-translate-field-titles-for-registration-form/