• Closed by: Fred
  • Closed on: 21.04.21, 16:26
  • Reason: Closed
  • Comment: Glad to help!

Ticket #21256 - Error on changing translations on AMP

Hello,

I tried to change the AMP translations for newsletter subscribe.

Looks there is a problem on translations file generation.

First, we get an error on no file in var/cache/prod/themes/alysum/translations (see attachment)
If i create the directory, then there is no translations files to open.

Attachments:

translation_error.jpg (179.2 KiB)

Comments

Valerie Valentine 09 Apr 2021, 10:44

If i look for my sentence to translate : “Subscribe for the latest news and get 15 euro off your first order” then i got the screen attached, i can update, everything looks fine, but the change is not done.

Translations link : https://www.valerievalentine.com/admin361grfk1v/index.php/improve/international/translations/?lang=fr&type=themes&locale=fr-FR&selected=alysum&_token=EbsFBB6K1q-xFWqrO508yzsmd5fZ7P5dNvKZFyJBtmg

Attachments:

translation_change.jpg (203.3 KiB)
translation_change_error.jpg (323.1 KiB)
Valerie Valentine 09 Apr 2021, 12:15

Same issue on %product_count% item in your cart

I did the change (the new french translation should be : %product_count% article dans votre panier) both in file on FTP and in Back office.
But it still the same wrong translation.

Attachments:

translation_product_count.jpg (229.3 KiB)
translation_ftp.jpg (72.7 KiB)
Fred 09 Apr 2021, 17:53

1. Newsletter is a part of Page Builder module. Go to translations → Modules → Page builder and try to translate there.
2. %product_count% - is a variable and it should not be translated. Keep it as in original wording.

Valerie Valentine 13 Apr 2021, 11:55

1.
I cant find any “Subscribe for the latest news and get 15 euro off your first order” in Go to translations → Modules → Page builder

Please see the captures or try to update translations and reload page.

2.
The point is that the changes i do are ignored when i save, the wrong translation is still here.
The french translation is wrong and i want to correct it with put back the variable %product_count% instead.
Please see the captures or try to update translations and reload page.

Fred 13 Apr 2021, 14:27

1. I can’t find where “Subscribe for the latest news and get…” phrase is in your home page
2. I just changed the translation with no problem - https://take.ms/6rcqV

Valerie Valentine 13 Apr 2021, 15:14

2. Great even if i dont understand how it didn’t work for me.

1. Its for AMP version, homepage in private nav maybe for the register popin appearance.
Please See captures.
It says 10 euros, we just want 10% and all my attemps dont work. No error.

Subscribe for the latest news and get 15 euro off your first order
Abonnez-vous et obtenez 10% de réduction sur votre première commande

Attachments:

translations_amp_news.jpg (43.3 KiB)
translations_amp_news_form_er... (26 KiB)
Fred 13 Apr 2021, 23:14

I just changed the text for AMP with no problem as well - https://take.ms/klYvQ

Please try one more

Valerie Valentine 16 Apr 2021, 12:47

You should try to put 10% as asked … looks like than “%” was the problem !!

I fixed by using %

Fred 17 Apr 2021, 11:07

Yes, some symbols doesn’t allowed there. Thank you for the information