%3CLINGO-SUB%20id%3D%22lingo-sub-4507%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EOracle%20ODBC%20%E9%8C%AF%E8%AA%A4%201114%EF%BC%9A%E5%8B%95%E6%85%8B%E9%8F%88%E6%8E%A5%E5%BA%AB%20(DLL)%20%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BE%8B%E7%A8%8B%E5%A4%B1%E6%95%97%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4507%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3E%E6%88%91%E5%9C%A8%20JMP%20Pro%209.0.3%2064%20%E4%BD%8D%E4%B8%AD%E4%BD%BF%E7%94%A8%E2%80%9C%E6%95%B8%E6%93%9A%E5%BA%AB%E6%89%93%E9%96%8B%E8%A1%A8%E2%80%9D%E5%B0%8D%E8%A9%B1%E6%A1%86%E6%99%82%E6%94%B6%E5%88%B0%E6%AD%A4%E9%8C%AF%E8%AA%A4%E3%80%82%20%E6%88%91%E5%8F%AF%E4%BB%A5%E5%9C%A8%E5%85%B6%E4%BB%96%E6%87%89%E7%94%A8%E7%A8%8B%E5%BA%8F%E4%B8%AD%E4%BD%BF%E7%94%A8%E6%AD%A4%20ODBC%20%E9%80%A3%E6%8E%A5%EF%BC%8C%E4%B8%8D%E6%9C%83%E5%87%BA%E7%8F%BE%E4%BB%BB%E4%BD%95%E5%95%8F%E9%A1%8C%EF%BC%8C%E4%B8%A6%E4%B8%94%E2%80%9C%E6%B8%AC%E8%A9%A6%E9%80%A3%E6%8E%A5%E2%80%9D%E5%8A%9F%E8%83%BD%E5%9C%A8%20ODBC%20%E6%8E%A5%E5%8F%A3%E4%B8%AD%E4%B9%9F%E5%8F%AF%E4%BB%A5%E6%AD%A3%E5%B8%B8%E9%81%8B%E8%A1%8C%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%AE%8C%E6%95%B4%E7%9A%84%E9%8C%AF%E8%AA%A4%E6%98%AF%EF%BC%9A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%94%B1%E6%96%BC%E7%B3%BB%E7%B5%B1%E9%8C%AF%E8%AA%A4%201114%EF%BC%8C%E7%84%A1%E6%B3%95%E5%8A%A0%E8%BC%89%E6%8C%87%E5%AE%9A%E7%9A%84%E9%A9%85%E5%8B%95%E7%A8%8B%E5%BA%8F%EF%BC%9A%E5%8B%95%E6%85%8B%E9%8F%88%E6%8E%A5%E5%BA%AB%20(DLL)%20%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BE%8B%E7%A8%8B%E5%A4%B1%E6%95%97%E3%80%82%20%EF%BC%88Oracle%20%E5%9C%A8%20Oracle_11gR2_x64_1%E3%80%81C%3A%5COracle11gR2_x64%5Cproduct%5C11.2.0%5Cclient_1%5CBIN%5CSQORA32.DLL%EF%BC%89%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-158448%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AOracle%20ODBC%20%E9%8C%AF%E8%AA%A4%201114%EF%BC%9A%E5%8B%95%E6%85%8B%E9%8F%88%E6%8E%A5%E5%BA%AB%20(DLL)%20%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BE%8B%E7%A8%8B%E5%A4%B1%E6%95%97%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-158448%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E8%AC%9D%E8%AC%9D%E6%9D%B0%E5%A4%AB%E3%80%82%E6%88%91%E6%AD%A3%E5%9C%A8%E6%9C%9D%E9%82%A3%E5%80%8B%E6%96%B9%E5%90%91%E5%89%8D%E9%80%B2%E3%80%82%E6%88%91%E6%AF%94%E8%BC%83%E4%BA%86%E5%85%A9%E5%8F%B0%E6%9C%8D%E5%8B%99%E5%99%A8%E7%9A%84%E4%B8%80%E4%BA%9B%20Oracle%20%E8%A8%BB%E5%86%8A%E8%A1%A8%E9%A0%85%EF%BC%8C%E7%B5%90%E6%9E%9C%E7%99%BC%E7%8F%BE%E6%9C%89%E5%95%8F%E9%A1%8C%E7%9A%84%E6%9C%8D%E5%8B%99%E5%99%A8%E5%85%B7%E6%9C%89%E6%8C%87%E5%90%91%20Oracle%2011%20%E5%AE%A2%E6%88%B6%E7%AB%AF%E7%9A%84%E8%A8%BB%E5%86%8A%E8%A1%A8%E9%A0%85%E5%92%8C%E4%B8%80%E4%BA%9B%E6%8C%87%E5%90%91%20Oracle%2012%20%E5%AE%A2%E6%88%B6%E7%AB%AF%E7%9A%84%E8%A8%BB%E5%86%8A%E8%A1%A8%E9%A0%85%E3%80%82%E4%B8%80%E5%88%87%E9%83%BD%E6%87%89%E8%A9%B2%E6%8C%87%E5%90%91%20Oracle%2012%EF%BC%9B%E4%BA%8B%E5%AF%A6%E4%B8%8AOracle%2011%E5%B7%B2%E7%B6%93%E4%B8%8D%E5%9C%A8%E6%A9%9F%E5%99%A8%E4%B8%8A%E4%BA%86%E3%80%82%E6%88%91%E6%9C%83%E5%8F%8A%E6%99%82%E5%90%91%E5%A4%A7%E5%AE%B6%E7%99%BC%E5%B8%83%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-158423%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AOracle%20ODBC%20%E9%8C%AF%E8%AA%A4%201114%EF%BC%9A%E5%8B%95%E6%85%8B%E9%8F%88%E6%8E%A5%E5%BA%AB%20(DLL)%20%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BE%8B%E7%A8%8B%E5%A4%B1%E6%95%97%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-158423%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%88%91%E6%9F%A5%E7%9C%8B%E4%BA%86%E5%8E%9F%E5%A7%8B%E6%B5%B7%E5%A0%B1%E5%89%B5%E5%BB%BA%E7%9A%84%E6%8A%80%E8%A1%93%E6%94%AF%E6%8C%81%E8%BB%8C%E9%81%93%E3%80%82%20%E4%B8%8D%E5%B9%B8%E7%9A%84%E6%98%AF%EF%BC%8C%E6%98%AF%E4%BB%80%E9%BA%BC%E8%A7%A3%E6%B1%BA%E4%BA%86%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%E4%B8%A6%E4%B8%8D%E5%AE%8C%E5%85%A8%E6%B8%85%E6%A5%9A%E3%80%82%20%E5%B0%8D%E8%88%8A%E7%89%88%E5%92%8C%E6%96%B0%E7%89%88%20JMP%20%E5%92%8C%20ODBC%20%E9%A9%85%E5%8B%95%E7%A8%8B%E5%BA%8F%E9%80%B2%E8%A1%8C%E4%BA%86%E4%B8%80%E4%BA%9B%E5%8D%B8%E8%BC%89%2F%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%9D%EF%BC%8C%E7%84%B6%E5%BE%8C%E5%AE%83%E9%96%8B%E5%A7%8B%E5%B7%A5%E4%BD%9C%E3%80%82%20%E6%88%91%E5%80%91%E9%A0%90%E8%A8%88%E5%8D%B8%E8%BC%89%E4%B8%A6%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%9D%E4%BB%BB%E4%BD%95%E7%89%88%E6%9C%AC%E7%9A%84%20JMP%20%E9%83%BD%E4%B8%8D%E6%9C%83%E5%BD%B1%E9%9F%BF%E5%85%B6%E4%BB%96%E7%89%88%E6%9C%AC%E3%80%82%20%E9%80%99%E6%9C%89%E9%BB%9E%E7%A5%9E%E7%A7%98%E3%80%82%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%E6%8E%A5%E8%A7%B8%3CA%20href%3D%22mailto%3Asupport%40jmp.com%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%E6%8A%80%E8%A1%93%E6%94%AF%E6%8C%81%3C%2FA%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E9%9C%80%E8%A6%81%E4%B8%80%E4%BA%9B%E5%B9%AB%E5%8A%A9%E4%BE%86%E5%98%97%E8%A9%A6%E5%9C%A8%E6%82%A8%E7%9A%84%E5%AF%A6%E4%BE%8B%E4%B8%AD%E8%BF%BD%E8%B8%AA%E5%AE%83%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-158365%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AOracle%20ODBC%20%E9%8C%AF%E8%AA%A4%201114%EF%BC%9A%E5%8B%95%E6%85%8B%E9%8F%88%E6%8E%A5%E5%BA%AB%20(DLL)%20%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BE%8B%E7%A8%8B%E5%A4%B1%E6%95%97%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-158365%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%98%AF%E5%90%A6%E6%89%BE%E5%88%B0%E4%BA%86%E8%A9%B2%E9%8C%AF%E8%AA%A4%E7%9A%84%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88%EF%BC%9F%E6%88%91%E5%9C%A8%E6%88%91%E7%9A%84%E4%B8%80%E5%8F%B0%E9%9B%BB%E8%85%A6%E4%B8%8A%E9%81%87%E5%88%B0%E4%BA%86%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%E3%80%82Oracle%20%E9%A9%85%E5%8B%95%E7%A8%8B%E5%BA%8F%E6%98%AF%2064%20%E4%BD%8D%EF%BC%8CJMP%2014%20%E4%B9%9F%E6%98%AF%2064%20%E4%BD%8D%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4509%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EOracle%20ODBC%20%E9%8C%AF%E8%AA%A4%201114%EF%BC%9A%E5%8B%95%E6%85%8B%E9%8F%88%E6%8E%A5%E5%BA%AB%20(DLL)%20%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BE%8B%E7%A8%8B%E5%A4%B1%E6%95%97%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4509%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E8%A9%B2%E4%BD%8D%E7%BD%AE%E7%9A%84%E9%A9%85%E5%8B%95%E7%A8%8B%E5%BA%8F%E6%98%AF%2064%20%E4%BD%8D%E9%A9%85%E5%8B%95%E7%A8%8B%E5%BA%8F%EF%BC%8C%E4%B8%A6%E4%B8%94%E8%A9%B2%E6%96%87%E4%BB%B6%E7%A2%BA%E5%AF%A6%E5%AD%98%E5%9C%A8%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4508%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EOracle%20ODBC%20%E9%8C%AF%E8%AA%A4%201114%EF%BC%9A%E5%8B%95%E6%85%8B%E9%8F%88%E6%8E%A5%E5%BA%AB%20(DLL)%20%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BE%8B%E7%A8%8B%E5%A4%B1%E6%95%97%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4508%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%E5%8F%AF%E8%83%BD%E6%9C%80%E5%A5%BD%E7%94%B1%3CA%20href%3D%22mailto%3Asupport%40jmp.com%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%E6%8A%80%E8%A1%93%E6%94%AF%E6%8C%81%3C%2FA%3E%EF%BC%8C%E4%BD%86%E6%88%91%E4%B9%9F%E8%A8%B1%E5%8F%AF%E4%BB%A5%E6%8C%87%E5%87%BA%E4%B8%80%E4%BA%9B%E5%A5%BD%E7%9A%84%E6%96%B9%E5%90%91%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%82%A8%E6%AD%A3%E5%9C%A8%E4%BB%A5%2064%20%E4%BD%8D%E9%81%8B%E8%A1%8C%20JMP%EF%BC%8C%E9%80%99%E6%84%8F%E5%91%B3%E8%91%97%E6%82%A8%E5%BF%85%E9%A0%88%E6%93%81%E6%9C%89%2064%20%E4%BD%8D%20ODBC%20%E9%A9%85%E5%8B%95%E7%A8%8B%E5%BA%8F%E6%89%8D%E8%83%BD%E4%BD%BF%E5%85%B6%E5%B7%A5%E4%BD%9C%E3%80%82%20%E6%88%91%E6%93%94%E5%BF%83%E9%8C%AF%E8%AA%A4%E6%B6%88%E6%81%AF%E5%BC%95%E7%94%A8%E4%BA%86%E5%90%8D%E7%A8%B1%E4%B8%AD%E5%8C%85%E5%90%AB%2032%20%E7%9A%84%20dll%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%82%A8%E8%83%BD%E7%9C%8B%E7%9C%8B%E9%8C%AF%E8%AA%A4%E6%B6%88%E6%81%AF%E4%B8%AD%E7%9A%84%E4%BD%8D%E7%BD%AE%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8%E8%A9%B2%20DLL%20%E5%97%8E%EF%BC%9F%20%E5%8F%A6%E5%A4%96%EF%BC%8C%E4%BD%A0%E8%83%BD%E7%A2%BA%E8%AA%8D%E4%BD%A0%E6%9C%8964%E4%BD%8D%E9%A9%85%E5%8B%95%E7%A8%8B%E5%BA%8F%E5%97%8E%EF%BC%9F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E-%E5%82%91%E5%A4%AB%3C%2FP%3E%3C%2FLINGO-BODY%3E
I am receiving this error when using the Database Open Table dialog in JMP Pro 9.0.3 64bit. I am able to use this ODBC connection in other applications without issue and the "test connection" feature also works without issue in the ODBC interface.
The full error is:
Specified driver could not be loaded due to system error 1114: A dynamic link library (DLL) initialization routine failed. (Oracle in Oracle_11gR2_x64_1, C:\Oracle11gR2_x64\product\11.2.0\client_1\BIN\SQORA32.DLL).
This question is probably best handled by
Tech Support
, but I may be able to point in some good directions.
You're running JMP in 64-bits which means that you must have a 64-bit ODBC driver for it to work. I'm concerned that the error message references a dll with 32 in the name.
Can you see if that DLL exists in the location in the error message? Also, can you confirm that you have a 64-bit driver?
-Jeff
This question is probably best handled by
Tech Support
, but I may be able to point in some good directions.
You're running JMP in 64-bits which means that you must have a 64-bit ODBC driver for it to work. I'm concerned that the error message references a dll with 32 in the name.
Can you see if that DLL exists in the location in the error message? Also, can you confirm that you have a 64-bit driver?
-Jeff
I looked at the tech support track that was created by the original poster. Unfortunately, what resolved the problem isn't entirely clear. There was some uninstallation/reinstallation of older and newer versions of JMP and ODBC drivers and it started working. We wouldn't expect uninstalling and reinstalling any version of JMP would affect any other. It's a bit of mystery.
Contact
Tech Support
if you want some help trying to track it down in your instance.
Thanks Jeff. I'm headed in that direction. I compared some Oracle registry entries for two servers and it turns out the problematic server has registry entries that point to the Oracle 11 client and some that point to the Oracle 12 client. Everything is supposed to point to Oracle 12; in fact Oracle 11 is no longer on the machine. I'll keep you posted.
var data = div.getElementsByClassName("video-js");
var script = document.createElement('script');
script.src = "https://players.brightcove.net/" + data_account + "/" + data_palyer + "_default/index.min.js";
for(var i=0;i< data.length;i++){
videodata.push(data[i]);
for(var i=0;i< videodata.length;i++){
document.getElementsByClassName('lia-vid-container')[i].innerHTML = videodata[i].outerHTML;
document.body.appendChild(script);
catch(e){
/* Re compile html */
$compile(rootElement.querySelectorAll('div.lia-message-body-content')[0])($scope);
if (code_l.toLowerCase() != newBody.getAttribute("slang").toLowerCase()) {
/* Adding Translation flag */
var tr_obj = $filter('filter')($scope.sourceLangList, function (obj_l) {
return obj_l.code.toLowerCase() === newBody.getAttribute("slang").toLowerCase()
if (tr_obj.length > 0) {
tr_text = "This post originally written in lilicon-trans-text has been computer translated for you. When you reply, it will also be translated back to lilicon-trans-text.".replace(/lilicon-trans-text/g, tr_obj[0].title);
try {
if ($scope.wootMessages[$rootScope.profLang] != undefined) {
tr_text = $scope.wootMessages[$rootScope.profLang].replace(/lilicon-trans-text/g, tr_obj[0].title);
} catch (e) {
} else {
//tr_text = "This message was translated for your convenience!";
tr_text = "This message was translated for your convenience!";
try {
if (!document.getElementById("tr-msz-" + value)) {
var tr_para = document.createElement("P");
tr_para.setAttribute("id", "tr-msz-" + value);
tr_para.setAttribute("class", "tr-msz");
tr_para.style.textAlign = 'justify';
var tr_fTag = document.createElement("IMG");
tr_fTag.setAttribute("class", "tFlag");
tr_fTag.setAttribute("src", "/html/assets/lingoTrFlag.PNG");
tr_fTag.style.marginRight = "5px";
tr_fTag.style.height = "14px";
tr_para.appendChild(tr_fTag);
var tr_textNode = document.createTextNode(tr_text);
tr_para.appendChild(tr_textNode);
/* Woot message only for multi source */
if(rootElement.querySelector(".lia-quilt-forum-message")){
rootElement.querySelector(".lia-quilt-forum-message").appendChild(tr_para);
} else if(rootElement.querySelector(".lia-message-view-blog-topic-message")) {
rootElement.querySelector(".lia-message-view-blog-topic-message").appendChild(tr_para);
} else if(rootElement.querySelector(".lia-quilt-blog-reply-message")){
rootElement.querySelector(".lia-quilt-blog-reply-message").appendChild(tr_para);
} else if(rootElement.querySelector(".lia-quilt-tkb-message")){
rootElement.querySelector(".lia-quilt-tkb-message").appendChild(tr_para);
} else if(rootElement.querySelector(".lia-quilt-tkb-reply-message")){
rootElement.querySelector(".lia-quilt-tkb-reply-message").insertBefore(tr_para,rootElement.querySelector(".lia-quilt-row.lia-quilt-row-footer"));
} else if(rootElement.querySelector(".lia-quilt-idea-message")){
rootElement.querySelector(".lia-quilt-idea-message").appendChild(tr_para);
}else if(rootElement.querySelector(".lia-quilt-column-alley-left")){
rootElement.querySelector(".lia-quilt-column-alley-left").appendChild(tr_para);
else {
if (rootElement.querySelectorAll('div.lia-quilt-row-footer').length > 0) {
rootElement.querySelectorAll('div.lia-quilt-row-footer')[0].appendChild(tr_para);
} else {
rootElement.querySelectorAll('div.lia-quilt-column-message-footer')[0].appendChild(tr_para);
} catch (e) {
} else {
/* Do not display button for same language */
// syncList.remove(value);
var index = $scope.syncList.indexOf(value);
if (index > -1) {
$scope.syncList.splice(index, 1);
angular.forEach(mszList_l, function (value) {
if (document.querySelectorAll('div.lia-js-data-messageUid-' + value).length > 0) {
var rootElements = document.querySelectorAll('div.lia-js-data-messageUid-' + value);
}else if(document.querySelectorAll('.lia-occasion-message-view .lia-component-occasion-message-view').length >0){
var rootElements = document.querySelectorAll('.lia-occasion-message-view .lia-component-occasion-message-view')[0].querySelectorAll('.lia-occasion-description')[0];
}else {
var rootElements = document.querySelectorAll('div.message-uid-' + value);
angular.forEach(rootElements, function (rootElement) {
if (value == '4507' && "ForumTopicPage" == "TkbArticlePage") {
rootElement = document.querySelector('.lia-thread-topic');
/* V1.1 Remove from UI */
if (document.getElementById("tr-msz-" + value)) {
document.getElementById("tr-msz-" + value).remove();
if (document.getElementById("tr-sync-" + value)) {
document.getElementById("tr-sync-" + value).remove();
/* XPath expression for subject and Body */
var lingoRBExp = "//lingo-body[@id = " + "'lingo-body-" + value + "'" + "]";
lingoRSExp = "//lingo-sub[@id = " + "'lingo-sub-" + value + "'" + "]";
/* Get translated subject of the message */
lingoRSXML = doc.evaluate(lingoRSExp, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < lingoRSXML.snapshotLength; i++) {
/* Replace Reply/Comment subject with transalted subject */
var newSub = lingoRSXML.snapshotItem(i);
/*** START : extracting subject from source if selected language and source language is same **/
var sub_L = "";
if (newSub.getAttribute("slang").toLowerCase() == code_l.toLowerCase()) {
if (value == '4507') {
sub_L = decodeURIComponent($scope.sourceContent[value].subject);
else{
sub_L = decodeURIComponent($scope.sourceContent[value].subject);
} else {
sub_L = newSub.innerHTML;
/*** End : extracting subject from source if selected language and source language is same **/
/* This code is placed to remove the extra meta tag adding in the UI*/
sub_L = sub_L.replace('<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />','');
catch(e){
// if($scope.viewTrContentOnly || (newSub.getAttribute("slang").toLowerCase() != code_l.toLowerCase())) {
if ($scope.viewTrContentOnly) {
if ("ForumTopicPage" == "IdeaPage") {
if (value == '4507') {
if( (sub_L != "") && (sub_L != undefined) && (sub_L != "undefined") ){
document.querySelector('.MessageSubject .lia-message-subject').innerHTML = sub_L;
if ("ForumTopicPage" == "TkbArticlePage") {
if (value == '4507') {
if( (sub_L != "") && (sub_L != undefined) && (sub_L != "undefined") ){
var subTkbElement = document.querySelector('.lia-thread-subject');
if(subTkbElement){
document.querySelector('.lia-thread-subject').innerHTML = sub_L;
else if ("ForumTopicPage" == "BlogArticlePage") {
if (value == '4507') {
try {
if((sub_L != "") && (sub_L!= undefined) && (sub_L != "undefined")){
var subElement = rootElement.querySelector('.lia-blog-article-page-article-subject');
if(subElement) {
subElement.innerText = sub_L;
} catch (e) {
/* var subElement = rootElement.querySelectorAll('.lia-blog-article-page-article-subject');
for (var subI = 0; subI < subElement.length; subI++) {
if((sub_L != "") && (sub_L!= undefined) && (sub_L != "undefined")){
subElement[subI].innerHTML = sub_L;
else {
try {
// rootElement.querySelectorAll('.lia-blog-article-page-article-subject').innerHTML= sub_L;
/** var subElement = rootElement.querySelectorAll('.lia-blog-article-page-article-subject');
for (var j = 0; j < subElement.length; j++) {
if( (sub_L != "") && (sub_L != undefined) && (sub_L != "undefined") ){
subElement[j].innerHTML = sub_L;
} **/
} catch (e) {
else {
if (value == '4507') {
/* Start: This code is written by iTalent as part of iTrack LILICON - 98 */
if( (sub_L != "") && (sub_L != undefined) && (sub_L != "undefined") ){
if(document.querySelectorAll('.lia-quilt-forum-topic-page').length > 0){
if(rootElement.querySelector('div.lia-message-subject').querySelector('h5')){
rootElement.querySelector('div.lia-message-subject').querySelector('h5').innerText = decodeURIComponent(sub_L);
} else {
rootElement.querySelector('.MessageSubject .lia-message-subject').innerText = sub_L;
} else {
rootElement.querySelector('.MessageSubject .lia-message-subject').innerText = sub_L;
/* End: This code is written by iTalent as part of iTrack LILICON - 98 */
catch(e){
console.log("subject not available for second time. error details: " + e);
} else {
try {
/* Start: This code is written by iTalent as part of LILICON - 98 reported by Ian */
if ("ForumTopicPage" == "IdeaPage") {
if( (sub_L != "") && (sub_L != undefined) && (sub_L != "undefined") ){
document.querySelector('.lia-js-data-messageUid-'+ value).querySelector('.MessageSubject .lia-message-subject').innerText = sub_L;
else{
if( (sub_L != "") && (sub_L != undefined) && (sub_L != "undefined") ){
rootElement.querySelector('.MessageSubject .lia-message-subject').innerText = sub_L;
/* End: This code is written as part of LILICON - 98 reported by Ian */
} catch (e) {
console.log("Reply subject not available. error details: " + e);
// Label translation
var labelEle = document.querySelector("#labelsForMessage");
if (!labelEle) {
labelEle = document.querySelector(".LabelsList");
if (labelEle) {
var listContains = labelEle.querySelector('.label');
if (listContains) {
/* Commenting this code as bussiness want to point search with source language label */
// var tagHLink = labelEle.querySelectorAll(".label")[0].querySelector(".label-link").href.split("label-name")[0];
var lingoLabelExp = "//lingo-label/text()";
trLabels = [];
trLabelsHtml = "";
/* Get translated labels of the message */
lingoLXML = doc.evaluate(lingoLabelExp, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
/* try{
for(var j=0;j
,';
trLabelsHtml = trLabelsHtml+'
'+lTex+'
';
var tagHLink = labelEle.querySelectorAll(".label")[j].querySelector(".label-link").href;
trLabelsHtml = trLabelsHtml+'
'+lTex+'
';
} catch(e){} */
var labelsLength = document.querySelector(".LabelsList").querySelectorAll(".label").length;
var labelSnapshotLength = lingoLXML.snapshotLength;
if (labelsLength == labelSnapshotLength){
for (var k = 0; k < lingoLXML.snapshotLength; k++) {
//trLabels.push(lingoLXML.snapshotItem(i).textContent);
if (k != 0) {
//trLabelsHtml = trLabelsHtml + '
,
';
//diffVariable = kValue
if(labelEle.querySelectorAll(".label")[k]){
tagHLink = labelEle.querySelectorAll(".label")[k].querySelector(".label-link").href;
if ("ForumTopicPage" == "BlogArticlePage") {
trLabelsHtml = trLabelsHtml + '
' + lingoLXML.snapshotItem(k).textContent + '
';
else {
trLabelsHtml = trLabelsHtml + '
' + lingoLXML.snapshotItem(k).textContent + '
';
catch(e){
catch(e){
if (newSub.getAttribute("slang").toLowerCase() != code_l.toLowerCase()) {
if (trLabelsHtml != "") {
labelEle.querySelector("ul").innerHTML = "";
labelEle.querySelector("ul").innerHTML = trLabelsHtml;
// trLabels = trLabels.split(",");
// trLabels = reverseArr(trLabels);
// var tagHLink = labelEle.querySelectorAll(".label")[0].querySelector(".label-link").href.split("label-name")[0];
// cELabels = labelEle.querySelectorAll(".label");
// //cELabels = reverseArr(cELabels);
// for(var cE=0; cE < trLabels.length; cE++) {
// if(trLabels[cE]){
// cELabels[cE].querySelector(".label-link").text = trLabels[cE];
// }
// }
/* V 2.0:3 = Store not translated reply id */
if (lingoRSXML.snapshotLength == 0) {
if ($scope.falseReplyID == "") {
$scope.falseReplyID = value;
/* Get translated Body of Replies/Comments */
lingoRBXML = doc.evaluate(lingoRBExp, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
/* Replace Reply/Comment Body with translated Body */
for (var i = 0; i < lingoRBXML.snapshotLength; i++) {
var newBody = lingoRBXML.snapshotItem(i);
/* try {
var cPTags = newBody.getElementsByTagName("p");
var searchText = "