Field.getLocalizedValue Method

Module: Field

Definition

Retrieves the localized value based on the provided language code.

get_localized_value(self, language: str) -> str

Parameters

language str
in The language code for which the value should be localized (e.g., ‘en’ for English, ‘fr’ for French).

Returns

str
The localized value corresponding to the provided language code.

Exceptions

An error has occurred during Bioseal Library execution.
String getLocalizedValue(String? language)

Parameters

language String
in The language code for which the value should be localized (e.g., ‘en’ for English, ‘fr’ for French).

Returns

String
The localized value corresponding to the provided language code.

Exceptions

An error has occurred during Bioseal Library execution.
public string GetLocalizedValue(string language)

Parameters

language string
in The language code for which the value should be localized (e.g., ‘en’ for English, ‘fr’ for French).

Returns

string
The localized value corresponding to the provided language code.

Exceptions

An error has occurred during Bioseal Library execution.
public String getLocalizedValue(String language) throws BiosealException

Parameters

language String
in The language code for which the value should be localized (e.g., ‘en’ for English, ‘fr’ for French).

Returns

String
The localized value corresponding to the provided language code.

Exceptions

An error has occurred during Bioseal Library execution.
public func getLocalizedValue(language: String) throws -> String

Parameters

language String
in The language code for which the value should be localized (e.g., ‘en’ for English, ‘fr’ for French).

Returns

String
The localized value corresponding to the provided language code.

Exceptions

An error has occurred during Bioseal Library execution.
int id3BiosealField_GetLocalizedValue (
    ID3_BIOSEAL_FIELD hField,
    const char * language,
    char * value,
    int * valueSize)

Parameters

in Handle to the Field object.

language const char *
in The language code for which the value should be localized (e.g., ‘en’ for English, ‘fr’ for French).

value char *
out The localized value corresponding to the provided language code.

valueSize int *
in Size of the ‘value’ buffer. Receives the minimum required buffer size to hold the ‘value’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘value’ (excluding terminating NULL character).

Returns

int
An error code.
See id3BiosealError file for the list of possible error codes.