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.

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

1 Answer 1


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 and acknowledge you have read our privacy policy.

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