Expand description
Stable API — C++ language-pack compatible text lookup.
Used by public API handlers that receive FTStringDefine.StringID from
backend protocols and must project it to the same user-visible string as
C++ OpenD.
C++ OpenD-compatible language-pack lookup.
C++ loads Resources/Languages/{zh_cn,en}/*.ini at GUI startup and then
resolves FTStringDefine.StringID through core::lang::tr(...).
Refs:
- FutuOpenD/Src/FTGatewayGui/Application.cpp:66-99
- FutuOpenD/Src/NNProtoCenter/Basic/MultiLanguage/FTQueryLanguage.cpp:285-334
- FutuOpenD/Src/NNProtoCenter/Basic/MultiLanguage/FTQueryLanguage.cpp:380-401
Structs§
Enums§
- Language
Id - C++ language ids that are actually accepted by
FTQueryLanguage.
Functions§
- normalize_
language_ id - Normalize an OpenD app language id the same way C++
FTQueryLanguagedoes. - translate_
embedded_ key - translate_
embedded_ key_ with_ template