On 08/04/2010 10:51 PM, Felipe Crochik wrote:
What is the best way to get the localized version of, for example, “call_fi_call_type_cellular” in qt?
gettext is a C function which comes with GNU libc, so it's available for Qt applications too. You'll need to use dgettext() and specify the catalog file where that string is located, too.
Note the result is an UTF-8 string, so you'll have to pass it to QString::fromUtf8().
Ciao, Alberto -- http://blog.mardy.it <- geek in un lingua international! _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers