Add local language handling

This commit is contained in:
Aaron Po
2026-04-18 00:43:05 -04:00
parent f782fdb51d
commit 9649c993e8
11 changed files with 300 additions and 709 deletions

View File

@@ -7,6 +7,7 @@
*/
#include <string>
#include <vector>
/**
* @brief Canonical location record for city-level generation.
@@ -27,6 +28,9 @@ struct Location {
/// @brief ISO 3166-1 country code.
std::string iso3166_1{};
/// @brief Local language codes in priority order.
std::vector<std::string> local_languages{};
/// @brief Latitude in decimal degrees.
double latitude{};