Returns the value associated with key under group_name translated in the given locale if
available.
If locale is `C` then the untranslated value is returned (since GLib 2.84).
If locale is `NULL` then the current locale is assumed.
If locale is to be non-`NULL`, or if the current locale will change over the lifetime of the [struct@GLib.KeyFile], it must
be loaded with [flags@GLib.KeyFileFlags.KEEP_TRANSLATIONS] in order to load strings for all locales.
If key cannot be found then [error@GLib.KeyFileError.KEY_NOT_FOUND] is returned. If the value associated with key
cannot be interpreted or no suitable translation can be found then the untranslated value is returned.
| this |
a key file |
| group_name |
a group name |
| key |
a key |
| locale |
a locale identifier or `NULL` to use the current locale |
|
a newly allocated string or `NULL` if the specified key cannot be found. |