0

I'd like to start Firefox in english in order to figure out a large amount translations of error messages without doing research. The usual suspects LANGUAGE=en, LANG=C, LC_ALL=C don't work.

I had trouble with this task for other programs, but the solutions don't apply here:

Afaik it'd be nice if LANGUAGE would work for Firefox since it's a comfortable reliable solution to overwrite the system-wide configuration for a single invokation of the program. I guess opinions on proposing its support as a feature doesn't go beyond the scope of this question.

I'd like to leave both the Ubuntu and Firefox settings untouched.

I'm using Ubuntu 19.04.

Kalle Richter
  • 6,180
  • 21
  • 70
  • 103
  • @Jos I'd like to change the language temporarily without touching any settings. I clarified that in the question. Thanks for you input. – Kalle Richter May 05 '19 at 17:22
  • 2
    IIRC /usr/bin/firefox is a shell "wrapper" script rather than a binary executable; you may need to export the language/locale variables in order for them to propagate to the underlying process – steeldriver May 05 '19 at 17:26
  • @steeldriver I was successful with export LC_ALL=C, thank you. I'd accept that as an answer. – Kalle Richter May 05 '19 at 17:38
  • @steeldriver: No need to export anything to temporarily start FF in some other language. Please see my answer. – Gunnar Hjalmarsson May 05 '19 at 23:05

1 Answers1

1

The LANGUAGE variable is ignored by Firefox, but setting LANG or LC_MESSAGES should work.

  • Press Alt+F2
  • Enter the kommand:

    env LC_MESSAGES=en_US.UTF-8 firefox
    
Gunnar Hjalmarsson
  • 33,540
  • 3
  • 64
  • 94