Home > @magiclane/maps-sdk > ISOCodeConversions > convertLanguageIso
ISOCodeConversions.convertLanguageIso() method
Converts a language ISO code (ISO2 <-> ISO3).
Signature:
static convertLanguageIso(code: string, type: ISOCodeType): string;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
string |
The language ISO code to be converted. |
|
type |
The result language ISO code type. |
Returns:
string
The converted language ISO code.