Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CGUIUtils Class Reference

GUI utility functions. More...

#include <GUIUtils.h>

Static Public Member Functions

static std::string GetLocalizedString (uint32_t id)
 Get a localized string, with support for skin strings.
 

Detailed Description

GUI utility functions.

Member Function Documentation

◆ GetLocalizedString()

std::string CGUIUtils::GetLocalizedString ( uint32_t id)
static

Get a localized string, with support for skin strings.

Parameters
idThe string ID to look up
Returns
The localized string, or empty string if not found

This function handles both core strings and skin-specific strings (range 31000-31999). For skin strings, it retrieves them from the active skin's string map. For core strings, it retrieves them from the main localization map.


The documentation for this class was generated from the following files: