mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
14 lines
440 B
C++
14 lines
440 B
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
namespace Common::Localization {
|
|
|
|
// Console language indices follow the system configuration; invalid indices use English.
|
|
[[nodiscard]] std::string_view LocaleName(int console_language);
|
|
|
|
// Translations have static lifetime. Missing translations use English, then the supplied key.
|
|
[[nodiscard]] std::string_view Get(int console_language, std::string_view key);
|
|
|
|
} // namespace Common::Localization
|