Field.getLocalizedLabel Method¶
Module: Field
Definition¶
Retrieves the localized label based on the provided language code.
get_localized_label(self, language: str) -> str
Parameters
language
strin The language code for which the label should be localized (e.g., ‘en’ for English, ‘fr’ for French).
Returns
str
The localized label corresponding to the provided language code.
Exceptions
An error has occurred during Bioseal Library execution.
String getLocalizedLabel(String? language)
Parameters
language
Stringin The language code for which the label should be localized (e.g., ‘en’ for English, ‘fr’ for French).
Returns
String
The localized label corresponding to the provided language code.
Exceptions
An error has occurred during Bioseal Library execution.
public string GetLocalizedLabel(string language)
Parameters
language
stringin The language code for which the label should be localized (e.g., ‘en’ for English, ‘fr’ for French).
Returns
string
The localized label corresponding to the provided language code.
Exceptions
An error has occurred during Bioseal Library execution.
public String getLocalizedLabel(String language) throws BiosealException
Parameters
language
Stringin The language code for which the label should be localized (e.g., ‘en’ for English, ‘fr’ for French).
Returns
String
The localized label corresponding to the provided language code.
Exceptions
An error has occurred during Bioseal Library execution.
public func getLocalizedLabel(language: String) throws -> String
Parameters
language
Stringin The language code for which the label should be localized (e.g., ‘en’ for English, ‘fr’ for French).
Returns
String
The localized label corresponding to the provided language code.
Exceptions
An error has occurred during Bioseal Library execution.
int id3BiosealField_GetLocalizedLabel (
ID3_BIOSEAL_FIELD hField,
const char * language,
char * label,
int * labelSize)
Parameters
hField
ID3_BIOSEAL_FIELDin Handle to the Field object.language
const char *in The language code for which the label should be localized (e.g., ‘en’ for English, ‘fr’ for French).label
char *out The localized label corresponding to the provided language code.labelSize
int *in Size of the ‘label’ buffer. Receives the minimum required buffer size to hold the ‘label’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘label’ (excluding terminating NULL character).
Returns