<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<div>
<p>
Choose any localization to trigger the
<code>loadinglocalization</code> event.
</p>
<p>
After successfully loading the localization file, the
<code>localizationloaded</code> event is triggered and outputs the message
under the component.
</p>
<p>
If there are any issues when loading the localization file, the
<code>localizationerror</code> event is triggered and outputs the error
message under the component.
</p>
</div>
<button onclick="setLocalization('en')">English</button>
<button onclick="setLocalization('fr')">Français</button>
<button onclick="setLocalization('es')">Español</button>
<button onclick="setLocalization('pt')">Português</button>
<button onclick="setLocalization('zh')">中国的</button>
<button onclick="setLocalization('uk')">Українська</button>
<div id="pivot-container">The component will appear here</div>
<div class="output" id="output">Output will appear here</div>