FAQ: Fixing (Gettext.Error) in BlockScout

faq
#1

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

2 Likes