Re: Locale switch on the fly

2017-07-17 Thread Igor Chetverovod
Hi Tristan, thank you for your help. Now I have got on the fly switch locale hack for menu items too. Below example code how it was done. #include #include #include #include #define RU_PACKAGE (gchar*) "messages" #define EN_PACKAGE (gchar*) "en_messages" #def

Re: Locale switch on the fly

2017-07-17 Thread Tristan Van Berkom
On Mon, 2017-07-17 at 12:32 +0300, Igor Chetverovod wrote: > Hi all, I have a need to switch locale on the fly (without  an > application > UI reload). > I  have a function which are using gkt_container_forall()  for > marking of > all widgets are having GObject property "la

Locale switch on the fly

2017-07-17 Thread Igor Chetverovod
Hi all, I have a need to switch locale on the fly (without an application UI reload). I have a function which are using gkt_container_forall() for marking of all widgets are having GObject property "label" , all of them get aditional GObject field "msg_id" with o