Language - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.9
Category
Reference Guide

The parameter lang defines the language used for the localization. When it is not specified, it defaults to "en" and labels and messages are localized in English.

Say you want to configure your widgets so that they display labels in French, instead of English.

<div class="AFSWidget" title="Configuration">
<script type="application/json">
{
"afsDefaults": {
"afs:service": 7020,
"afs:status": "alpha",
"afs:lang": "fr"
}
}
</script>
</div>