FormFlowsheetGetTranslatedString Method

Returns the translation of text for the specified locale, falling back to the original string if no translation is found.

Definition

Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
public string GetTranslatedString(
	string text,
	string locale
)

Parameters

text  String
The string key to translate.
locale  String
The locale code (e.g. "pt-BR").

Return Value

String

Implements

IFlowsheetGetTranslatedString(String, String)
IFlowsheetGUIGetTranslatedString(String, String)

See Also