After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761372 - Glom will not launch localized
Glom will not launch localized
Status: RESOLVED FIXED
Product: glom
Classification: Other
Component: general
1.28.x
Other Linux
: Normal normal
: ---
Assigned To: Murray Cumming
Murray Cumming
Depends on:
Blocks:
 
 
Reported: 2016-01-31 20:42 UTC by m.rick.mac
Modified: 2016-02-29 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Translation window showing French (53.09 KB, image/png)
2016-02-25 14:35 UTC, m.rick.mac
Details
Identifying the language and showing French (24.74 KB, image/png)
2016-02-25 14:36 UTC, m.rick.mac
Details

Description m.rick.mac 2016-01-31 20:42:50 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.
Comment 1 Murray Cumming 2016-02-07 15:49:39 UTC
Please put the second issue in a separate bug report. Thanks.
Comment 2 m.rick.mac 2016-02-09 09:23:33 UTC
OK, can you edit to remove it?
Comment 3 Murray Cumming 2016-02-09 09:32:48 UTC
No, sorry, that's not possible.
Comment 4 Murray Cumming 2016-02-25 14:08:44 UTC
(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?
Comment 5 m.rick.mac 2016-02-25 14:35:33 UTC
Created attachment 322376 [details]
Translation window showing French
Comment 6 m.rick.mac 2016-02-25 14:36:01 UTC
Created attachment 322377 [details]
Identifying the language and showing French
Comment 7 m.rick.mac 2016-02-25 14:36:35 UTC
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.
Comment 8 Murray Cumming 2016-02-29 11:18:35 UTC
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.