Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
Language.h File Reference
#include "language/LanguageTag.h"
#include <memory>
#include <optional>
#include <set>
#include <string>
#include <string_view>

Classes

class  KODI::LANGUAGE::CLanguagePreference
 What the user asked for when choosing an audio or subtitle language. More...
 
class  KODI::LANGUAGE::CLanguage
 What language Kodi is running in and what languages the viewer asked to hear and read. More...
 

Namespaces

namespace  ADDON
 
namespace  KODI
 
namespace  KODI::LANGUAGE
 

Typedefs

using KODI::LANGUAGE::LanguageResourcePtr = std::shared_ptr<ADDON::CLanguageResource>
 

Functions

std::string KODI::LANGUAGE::DescribeLanguage (CLanguageTag::Notation notation, const CLanguage &language, const CLangInfo &region, bool withRegion)
 Name what Kodi is running in, for an interface that states how it wants it named.
 

Variables

constexpr std::string_view KODI::LANGUAGE::languageSettingDefault = "default"
 
constexpr std::string_view KODI::LANGUAGE::languageSettingOriginal = "original"
 
constexpr std::string_view KODI::LANGUAGE::audioLanguageSettingMediaDefault = "mediadefault"
 
constexpr std::string_view KODI::LANGUAGE::subtitleLanguageSettingNone = "none"
 
constexpr std::string_view KODI::LANGUAGE::subtitleLanguageSettingForcedOnly = "forced_only"