Welcome To Our Customer Service Portal

How to create the Dynamic FAQ Widget with translation?

To create a translated FAQ, you need to generate the FAQ widget script and add the following API to it:

translateTo: "fr"

where "fr" can be any Language Code.


Below is an example for a translated FAQ widget script to Spanish:

<div class='Nanorep_loadingData'><span>Loading Nanorep <a href='http://www.Nanorep.com/Why-Nanorep' style='color:#000;'>Website Conversion Solution</a></span></div>
<div id='nrMPContainer_67479'></div>
<script type='text/javascript'>
var _nRepData = window._nRepData || [];
/* API here */;
_nRepData.MPWidgets = _nRepData.MPWidgets || {}; _nRepData.MPWidgets.Data = _nRepData.MPWidgets.Data || []; _nRepData.MPWidgets.Data.push({account: 'thomascook_de', days: 60, items: 20, translateTo: "es",  kb: '138319' , container: 'nrMPContainer_67479', rtl: false});(function (){if (!_nRepData.MPWidgets.mpScriptLoaded){_nRepData.MPWidgets.mpScriptLoaded = true;var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true; sc.defer = true;sc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'my.Nanorep.com/common/api/mostpopular/mostpopular.js';var _head = document.getElementsByTagName('head')[0]; _head.appendChild(sc);} else { if (typeof(Nanorep)!='undefined') if (typeof(Nanorep.MPWidget)!='undefined') Nanorep.MPWidget.loadMPData(_nRepData.MPWidgets.Data.length-1); }})();