#include "locale.hpp" #include #include #include extern "C" const uint8_t L_en_US[]; extern "C" size_t L_en_US_SZ; extern "C" const uint8_t L_en_GB[]; extern "C" size_t L_en_GB_SZ; namespace RUDE { static const Specter::Locale Locales[] = { {"en_US", "US English", L_en_US, L_en_US_SZ}, {"en_GB", "British English", L_en_GB, L_en_GB_SZ} }; std::vector> ListLocales() { constexpr size_t localeCount = std::extent::value; std::vector> ret; ret.reserve(localeCount); for (size_t i=0 ; i::value; for (size_t i=0 ; i::value; for (size_t i=0 ; i