FAQ: Fixing (Gettext.Error) in BlockScout

:exclamation: Content moved to: https://docs.blockscout.com/resources/faqs/how-do-i-fix-the-gettext.error

You may receive this error after making changes to a specific BlockScout application.

(Gettext.Error) translation with msgid '...<msg_here>...' has a non-empty msgstr

To update gettext, run the following command in the app’s folder where the changes were made.

  1. Go to the ./apps/{name_of_app} folder where the changes were made.
  2. Run mix gettext.extract —merge
  3. Repeat for other app folders as required.

More information on Gettext is available here