Skip to content

malcontent-control: Call setlocale() earlier to fix early i18n

Philip Withnall requested to merge setlocale-earlier into main

Based on a concept by Balló György in !178 (closed). Ensure that setlocale() is called earlier on in application initialisation, so that the string passed to g_set_application_name() is translated. Otherwise setlocale() is only called in gtk_init(), which happens later, in the chain-up from mct_application_startup().

Signed-off-by: Philip Withnall pwithnall@gnome.org

See also: !178 (closed)

Merge request reports

Loading