Language
This document contains the specifications needed to configure the language of the entire LST
Default Locale
If no language is being set, the app will try to use the locale used by the browser.
If no supported language (listed above) is being set by neither the parameter nor the browser, the content will be displayed in Spanish
Supported Languages
We Follow the ISO 639-1 standard language codes:
- es: Spanish (Spain)
- en: English
- pt: Portuguese (Portugal)
- pt-br: Portuguese (Brazil)
- ar: arabe
- ca: Catalan
- it: Italiano
- uk: Ucraniano
- pl: Polaco
- sl: Sloveno
Implementation
Available parameters
Parameter Lib | Parameter Web | Description |
---|---|---|
language | language | language code of the supported language. Default: Browser || "en" |
Code
<!DOCTYPE html>
<head>
<title>LSW v3 Embed</title>
</head>
<body>
<div id="instaleap-lsw-v3"></div>
</body>
<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
language: "pt"
}
window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&fontFamily=monospace
Demo
NOTE: Please do not modify the Demo, this is a visual aid
Updated 20 days ago