cancel
Showing results for 
Search instead for 
Did you mean: 

Translate Inline

SOLVED
   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Translate Inline

Hello, im trying to translate some issues in my magento 2 store, but it not working.
image.png

 

image.png

image.png

But when i refresh the page, if returns to the previous word "Checkout as a new customer"


1 ACCEPTED SOLUTION

Accepted Solutions

Re: Translate Inline

I noticed this was some cache bugged, because when i restarted the machine it works perfectly @Sunil Patel said, but clearing my CPU cache or Magento Cache doesnt not works. The reason i really duno, but when i rebooted the VM for another test, all the texts got translated

View solution in original post

10 REPLIES 10

Re: Translate Inline

Hello @eCom_Microware 

 

i am not able to see your screenshot.

 

Are you flushing cache after inline cache? 

 

have you did static content deploy with your language

php bin/magento setup:static-content:deploy en_US 

replace en_US with your code.

 

Hope it will help you.

.

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Translate Inline

Yes i am clearing cache after the process.

 

I am using developper mode, no deploy needed i think, or am i wrong?

 

 

Re: Translate Inline

@eCom_Microware 

 

you are right

 

Are you getting any js error?

 are you using varnish?


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Translate Inline

Im getting no js error

 

Atm i am using Bult in-Cache, i really dunno which one is better, Varnish or Bult-in

Re: Translate Inline

Hello @eCom_Microware 

 

Can you check your entry saving into core_transalte table?

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Translate Inline

Where i can check it? 

Re: Translate Inline

I Noticed that in some places the translate inline works perfectly, but in some doesnt not.

Re: Translate Inline

Hi @eCom_Microware ,

Please make sure that, translation words are written using translation function, instead on static direct text in phtml files.

<?php echo __('Any Text'); ?>

Re: Translate Inline

@eCom_Microware 

Did it work for you?