Purge tts on lang change 39/324939/1 accepted/tizen/7.0/unified/20250530.072047
authorYoungsun Suh <youngsun.suh@samsung.com>
Thu, 29 May 2025 04:49:08 +0000 (13:49 +0900)
committerYoungsun Suh <youngsun.suh@samsung.com>
Thu, 29 May 2025 04:49:08 +0000 (13:49 +0900)
Change-Id: I8dc565f1b80847a897e979646306b96cf60d43a0

src/screen_reader_vconf.c

index 1927295eeed457312da5b5796962976748c1c0c8..fa63362e96b4ae8534695f8dd7e707eadba2bd72 100644 (file)
@@ -19,6 +19,7 @@
 #include <vconf.h>
 
 #include <logger.h>
+#include <screen_reader_tts.h>
 #include <screen_reader_vconf.h>
 
 #ifdef RUN_IPC_TEST_SUIT
@@ -52,6 +53,7 @@ static int display_language_changed_cb(void *event_info, void *data)
        //to make gettext work
        char *pLocale = vconf_get_str(VCONFKEY_LANGSET);
        if (pLocale) {
+               tw_purge(EINA_TRUE);
                setlocale(LC_ALL, pLocale);
                DEBUG("Changed Language: %s", pLocale);
                free(pLocale);