Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jemikanegara committed Jun 15, 2024
1 parent 2266f94 commit a7e15af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function translateNodes(textNodes = [], language = "", apiKey = "", seoNodes = [
// dont translate original language
const options = getWeployOptions()
const langs = options.definedLanguages;
console.log("weploy langs", langs)
console.log("weploy langs", language, langs)
if (langs && langs[0] && langs[0].lang == language.substring(0, 2).toLowerCase()) {
console.log("Original language is not translatable");
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit a7e15af

Please sign in to comment.