Skip to content

Localization Admin Protocol

Michał Kapała edited this page Jul 24, 2025 · 2 revisions

LocalizationAdminProtocol

Method ID Method Name
1 CreateLocalization
2 UpdateLocalization
3 DeleteLocalization
4 GetNumberOfLocalizationContext
5 GetLocalizationContexts
6 GetTranslatedStrings
7 GetTranslatedString
8 LoadLocalizationFile
9 GetLocalizationFileContent
10 DeleteAllLocalizationsInContext
11 DeleteLocaleCodeForPID

(1) CreateLocalization

Request

Type Name
string localizationContext
string localizationName
qlist translatedStrings

Response

Type Name
uint32 localizedStringID

(2) UpdateLocalization

Request

Type Name
uint32 localizedStringID
qlist translatedStrings

Response

This method does not return anything.

(3) DeleteLocalization

Request

Type Name
uint32 localizedStringID

Response

This method does not return anything.

(4) GetNumberOfLocalizationContext

Request

This method does not take any parameters.

Response

Type Name
uint32 numberOfLocalizationContext

(5) GetLocalizationContexts

Request

Type Name
ResultRange range

Response

Type Name
qlist localizationContexts

(6) GetTranslatedStrings

Request

Type Name
uint32 localizedStringID

Response

Type Name
qlist translatedStrings

(7) GetTranslatedString

Request

Type Name
LocalizationArgList localizationArgList
string localeCode

Response

Type Name
TranslatedString translatedString

(8) LoadLocalizationFile

Request

Type Name
string localizationFileContent
bool onDuplicateKeyUpdate

Response

This method does not return anything.

(9) GetLocalizationFileContent

Request

Type Name
qlist localizationContexts
char delimiter

Response

Type Name
string localizationFileContent

(10) DeleteAllLocalizationsInContext

Request

Type Name
string localizationContext

Response

This method does not return anything.

(11) DeleteLocaleCodeForPID

Request

Type Name
uint32 pid

Response

This method does not return anything.

Types

TranslatedString (Structure)

Type Name
string m_localeCode
string m_translation

LocalizedString (Structure)

Type Name
string m_localizationContext
string m_localizedStringName
qlist m_translatedStrings

LocalizationArg (Structure)

Type Name
string m_key
string m_value

LocalizationArgList (Structure)

Type Name
string m_localizationContext
string m_localizedStringName
qlist m_arguments

Clone this wiki locally