diff --git a/src/Application.vala b/src/Application.vala index 9277aa35..0d0ff3f6 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -32,6 +32,12 @@ namespace Notejot { gsettings = new GLib.Settings ("io.github.lainsce.Notejot"); } + construct { + Intl.setlocale (LocaleCategory.ALL, ""); + Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR); + Intl.textdomain (Config.GETTEXT_PACKAGE); + } + protected override void activate () { if (win != null) { win.present ();