GNOME Bugzilla – Bug 761372
Glom will not launch localized
Last modified: 2016-02-29 11:18:35 UTC
When launching Glom, it will not launch localized but in English. Another problem, I have a database in which Glom has set postgresql.conf file with # These settings are initialized by initdb, but they can be changed. lc_messages = 'fr_FR' # locale for system error message # strings lc_monetary = 'fr_FR' # locale for monetary formatting lc_numeric = 'fr_FR' # locale for number formatting lc_time = 'fr_FR' # locale for time formatting From row 538 to 543. This database has been generated by Glom on Mac OS X, but cannot be opened in Linux. When modifying fr_FR to C, it's impossible to open it in both Linux and Mac OS. While it did this I don't know. This is the log: bool GlomBakery::Document::write_to_disk(): m_file_uri is empty. bool Glom::Spawn::execute_command_line_and_wait_until_second_command_returns_success(const string&, const string&, const SlotProgress&, const string&): Child command failed. The command was: '/usr/lib/postgresql/9.4/bin/postgres' -D '/home/aymeric/Desktop/Donnees transports/glom_postgres_data/data' -p 5433 -h localhost -c hba_file='/home/aymeric/Desktop/Donnees transports/glom_postgres_data/config/pg_hba.conf' -k '/home/aymeric/Desktop/Donnees transports/glom_postgres_data' --external_pid_file='/home/aymeric/Desktop/Donnees transports/glom_postgres_data/pid' and the error was: LOG: invalid value for parameter "lc_messages": "fr_FR" LOG: invalid value for parameter "lc_monetary": "fr_FR" LOG: invalid value for parameter "lc_numeric": "fr_FR" LOG: invalid value for parameter "lc_time": "fr_FR" FATAL: configuration file "/home/aymeric/Desktop/Donnees transports/glom_postgres_data/data/postgresql.conf" contains errors virtual Glom::ConnectionPoolBackends::Backend::StartupErrors Glom::ConnectionPoolBackends::PostgresSelfHosted::startup(const SlotProgress&, bool): Error while attempting to self-host a database. bool Glom::Frame_Glom::connection_request_password_and_attempt(bool&, Glib::ustring, const Glib::ustring&, bool): startup() failed. Xubuntu 15.04 - French.
Please put the second issue in a separate bug report. Thanks.
OK, can you edit to remove it?
No, sorry, that's not possible.
(In reply to m.rick.mac from comment #0) > When launching Glom, it will not launch localized but in English. Are you changing the locale in the terminal, or do you just happen to have a fully non-English locale for your desktop?
Created attachment 322376 [details] Translation window showing French
Created attachment 322377 [details] Identifying the language and showing French
No I don't change the locale in the terminal. My system is to be in French, everything works in French, but not Glom that always launches in English. But in the preferences it does recognize the French settings environnement.
Fixed by this commit: https://git.gnome.org/browse/glom/commit/?id=14f00b2be11e145abc809d600b1c7766d42fe104 Thanks for showing me that this wasn't just some strangeness in my own environment recently.