loadTranslation(loadTranslationOptions);
This method allows you to load custom translations dynamically per user. You can use this method to give users option to switch between custom translations.
Example:
JavaScript
// Example loadTranslation
frame1.loadTranslation({
channels: "Sub Chat Rooms",
resumeAutoScroll: "resume the auto scroll",
languageCode: "en"
});
loadTranslationOptions
Properties | Description | Type |
---|---|---|
resumeAutoScroll | text that is to be translated | String |
autoScrollPaused | text that is to be translated | String |
editProfile | text that is to be translated | String |
claimProfile | text that is to be translated | String |
verifyProfile | text that is to be translated | String |
channels | text that is to be translated | String |
unread | text that is to be translated | String |
privateChats | text that is to be translated | String |
onlineUsers | text that is to be translated | String |
ban | text that is to be translated | String |
loadMore | text that is to be translated | String |
logout | text that is to be translated | String |
bannedUsers | text that is to be translated | String |
newMessage | text that is to be translated | String |
moderator | text that is to be translated | String |
download | text that is to be translated | String |
adminApprovalPending | text that is to be translated | String |
approve | text that is to be translated | String |
typeAMessage | text that is to be translated | String |
joinChats | text that is to be translated | String |
moderatorLogin | text that is to be translated | String |
errorUsernameNotSpecified | text that is to be translated | String |
joinRoom | text that is to be translated | String |
alreadyHaveAnAccount | text that is to be translated | String |
infoSuperAdmin | text that is to be translated | String |
infoModeratorLogin | text that is to be translated | String |
login | text that is to be translated | String |
setAUsername | text that is to be translated | String |
username | text that is to be translated | String |
yourEmail | text that is to be translated | String |
text that is to be translated | String | |
password | text that is to be translated | String |
setSuperAdminUsername | text that is to be translated | String |
superAdminUsernameMessage | text that is to be translated | String |
banUserHeading | text that is to be translated | String |
banUserMessage | text that is to be translated | String |
banUserConfirm | text that is to be translated | String |
banUserCancel | text that is to be translated | String |
bannedUserHeading | text that is to be translated | String |
bannedUserMessage | text that is to be translated | String |
userBannedHeading | text that is to be translated | String |
userBannedMessage | text that is to be translated | String |
bannedIPs | text that is to be translated | String |
add | text that is to be translated | String |
ipAddress | text that is to be translated | String |
unblock | text that is to be translated | String |
close | text that is to be translated | String |
addIPAddress | text that is to be translated | String |
languageCode | Optionally Specify the ISO-639-1 Language Code.. It updates the lang attribute of chat room page. | String |
sendMessage | Set the aria-label for sendMessage button | String |