getCatStr in C++ API

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
buec
Posts:28
Joined: Tue Dec 07, 2010 3:09 pm

getCatStr in C++ API

Post by buec »

Is there something like getCatStr() in the C++ API?
I found CharString FileUtil::catgets but there I have to pass the full path of the catalog file. I'd rather not care about subprojects, languages and fallback languages (de_CH -> de_AT) and just pass the catalog name.

Many thanks for hints or code snippets.

Best regards
Christoph

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: getCatStr in C++ API

Post by gschijndel »

Use 'StrUtil::catgets'.

buec
Posts:28
Joined: Tue Dec 07, 2010 3:09 pm

Re: getCatStr in C++ API

Post by buec »

Works great. Thanks a lot.

3 posts • Page 1 of 1