-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locale en_GB.UTF-8 is hardcoded in install script #129
Comments
Debian recommends setting the default as None so that the SSH session specifies the locale. |
Yes, I think this was inherited from the FixMyStreet install, which uses that locale for its default translation and to have floating point numbers in URIs work correctly, but it should I guess be moved into the FixMyStreet specific script from the common one. |
Have made PR at mysociety/commonlib#24 to only call this for FixMyStreet. I don't think anything else requires this, @mhl might know more. |
At least for the mapit install script it does look like some kind of locale needs to be set for the postgis install to go correctly. That's about the limit of my knowledge right now |
It depends on what base server you're using. The script we use to set up postgis uses the |
The documentation suggests using a script which sets by default the locale to GB https://github.com/mysociety/commonlib/blob/master/bin/install-site.sh#L217
Since mapit is a poplus component and should be international by default this should probably be generalised (or at least some instructions added about changing the locale)
The text was updated successfully, but these errors were encountered: