8#include <userver/utils/text_light.hpp>
10USERVER_NAMESPACE_BEGIN
15inline const std::string kEnLocale{
"en_US.UTF-8"};
18std::string
Format(
double value,
const std::string& locale,
int ndigits = 0,
bool is_fixed =
true);
21std::string
ToLower(std::string_view str,
const std::string& locale = kEnLocale);
24std::string
ToUpper(std::string_view str,
const std::string& locale = kEnLocale);
27std::string
Capitalize(std::string_view str,
const std::string& locale);
30const std::locale&
GetLocale(
const std::string& name);