From e0234c343ecaf560a2fe7c68ab4b64f5dcc972da Mon Sep 17 00:00:00 2001 From: Ryan Holmes Date: Wed, 13 Oct 2021 23:20:57 -0400 Subject: [PATCH] Update README.md --- locale/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/locale/README.md b/locale/README.md index 3a8cf3196..cf395dd8a 100644 --- a/locale/README.md +++ b/locale/README.md @@ -54,6 +54,14 @@ edit the translation and hit Save :) ## FAQ +Q: I'm running Linux and getting "Cannot set locale to language "English (U.S.)" when trying to run pyfa.
+A: pyfa will automatically try to use the en_US local as the default unless otgherwise set. This error can happen when your Linux distribution does not have the en_US locale enabled. The fix for thiss may be distro-speecific, but the process for Debian-based distros is as follows: + + 1. Edit the file `/etc/locale.gen`, find the line `# en_US.UTF-8 UTF-8`, remove `#` part + 2. Run `locale-gen` to generate new locale files + +Please note that you may have to perform this operation after updating your distro, as the locales may revert. + Q: The English text isn't in the `.pot`/`.po` file for me to translate
A: This is probably one of two things: