-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathLocalization.hpp
More file actions
27 lines (22 loc) · 871 Bytes
/
Copy pathLocalization.hpp
File metadata and controls
27 lines (22 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Created by OpenAI Codex on 29/04/26.
//
#ifndef FAIRWINDSK_LOCALIZATION_HPP
#define FAIRWINDSK_LOCALIZATION_HPP
#include <QLocale>
#include <QString>
namespace fairwindsk {
class Configuration;
namespace localization {
QString normalizeLanguageSelection(const QString &value);
QString effectiveLanguageCodeForSelection(const QString &value);
QString effectiveLanguageCode(const Configuration &configuration);
QLocale effectiveLocaleForSelection(const QString &value);
QLocale effectiveLocale(const Configuration &configuration);
QString languageTag(const QLocale &locale);
QString cultureName(const QLocale &locale);
QString webAcceptLanguageHeader(const QLocale &locale);
QString translationResourcePath(const QString &languageCode);
}
}
#endif //FAIRWINDSK_LOCALIZATION_HPP