diff options
Diffstat (limited to 'examples/example2.c')
-rw-r--r-- | examples/example2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/example2.c b/examples/example2.c index 2083fcc..631fccf 100644 --- a/examples/example2.c +++ b/examples/example2.c @@ -25,6 +25,9 @@ int main(int argc, char *argv[]) { rccInitDefaultContext(NULL, 0, 0, classes, 0); rccInitDb4(NULL, "example", 0); rccSetOption(NULL, RCC_OPTION_TRANSLATE, RCC_OPTION_TRANSLATE_SKIP_PARRENT); + rccSetOption(NULL, RCC_OPTION_AUTODETECT_LANGUAGE, 1); +// rccSetOption(NULL, RCC_OPTION_TIMEOUT, 5000000); +// rccSetOption(NULL, RCC_OPTION_CONFIGURED_LANGUAGES_ONLY, 0); current_language_id = rccGetCurrentLanguage(NULL); english_language_id = rccGetLanguageByName(NULL, "en"); |