Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TableLanguageCodes.h File Reference
#include "utils/StringUtils.h"
#include <algorithm>
#include <array>
#include <optional>
#include <string_view>
#include <utility>

Classes

struct  KODI::LANGUAGE::I18N::ISO639_1
 
struct  KODI::LANGUAGE::I18N::KODI_LANGUAGE_CODE
 

Namespaces

namespace  KODI
 
namespace  KODI::LANGUAGE
 
namespace  KODI::LANGUAGE::I18N
 

Functions

constexpr auto KODI::LANGUAGE::I18N::CreateTableISO639_1ByAlpha3B ()
 
constexpr std::optional< std::string_view > KODI::LANGUAGE::I18N::Alpha2OfAlpha3B (std::string_view alpha3B)
 The ISO 639-1 code of a language given by its ISO 639-2/B code.
 

Variables

constexpr int KODI::LANGUAGE::I18N::ISO639_1_COUNT = 195
 
constexpr std::array< ISO639_1, ISO639_1_COUNT > KODI::LANGUAGE::I18N::TableISO639_1
 
constexpr std::array< KODI_LANGUAGE_CODE, 2 > KODI::LANGUAGE::I18N::TableKodiLanguageCodes
 
constexpr auto KODI::LANGUAGE::I18N::TableISO639_1ByAlpha3B = CreateTableISO639_1ByAlpha3B()