Glib/Gtk locale auto init

Hi everyone,

is it enough to add the next part (for app worked either with gtk or glib only) to init locale etc. ?

#include <locale.h>

#include <gtk/gtk.h>
#define GETTEXT_PACKAGE "gtk40"
#include <glib/gi18n-lib.h>
...

int main(int argc, char **argv) {
   /* l10n,i18n initialization */
    setlocale(LC_ALL, "");
//  bindtextdomain(GETTEXT_PACKAGE, GLIB_LOCALE_DIR-or-GTK_LOCALEDIR);
    bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
    textdomain(GETTEXT_PACKAGE);
...

or there’s some locale autoinit function from Glib (like in GTK) can be used?