1

I am using Magento 2.3.1

I can not load translations for text Invalid Form Key. Please refresh the page. shows occasionally on frontend.

Of course I add translations for language .csv placed in theme.
I also tried add translation to specific modules.

5
  • The exact phrase is Invalid <Form Key. Please refresh the page.> aren't you missing the dot? – vitoriodachef Jun 7 '19 at 12:32
  • nope, There is dot in csv. I just miss it when copied here – Konrad Siamro Jun 7 '19 at 12:52
  • Are your other translations working ? – vitoriodachef Jun 7 '19 at 12:56
  • Yes, other translations works fine – Konrad Siamro Jun 10 '19 at 9:52
  • Is this got resolved ? – skm Jul 4 '20 at 5:05
0

This is actually a Magento CORE Issues, Reported at: https://github.com/magento/magento2/issues/27889 and FIXed within Magento 2.4.0++. Release Notes: https://devdocs.magento.com/guides/v2.4/release-notes/release-notes-2-4-0-open-source.html:

The Invalid Form Key. Please refresh the page text string on the login page is now translated as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.