qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
545 stars 103 forks source link

qtranslate-xt footer translate. #1350

Open Joey199821 opened 1 year ago

Joey199821 commented 1 year ago

Describe the bug So its not a bug actually , it is a logic-error. the error am facing is, i use woodmart theme &WPBAKERY builder. now the footer is made as html block , when it was in only english language it was fine, when i went to the html block, and clicked on each language switch tab to customize for each for the same footer html block , after i finished customizing and saved. now the website displays the 3 languages footers that i have at the same time for each page.

Expected behavior the html block footer should display only 1 footer in the website for each language , not the entire languages at the same time Screenshots footer footer2 1 page

Debug info Go to <YOUR_SITE>/wp-admin/options-general.php?page=qtranslate-xt#troubleshooting. Press Collect information button and copy/paste the output below.

Versions {
  "PHP_VERSION": "8.2.5",
  "WP_VERSION": "6.2.2",
  "QTX_VERSION": "3.15.2.dev.0",
  "Plugins": [
    "All-in-One WP Migration 7.75",
    "Classic Editor 1.6.3",
    "Contact Form 7 5.7.7",
    "Font Awesome 4.3.2",
    "WPBakery Page Builder 6.13.0",
    "MC4WP: Mailchimp for WordPress 4.9.5",
    "MailPoet 4.19.0",
    "qTranslate-XT 3.15.1",
    "Slider Revolution 6.6.14",
    "Safe SVG 2.1.1",
    "Woodmart Core 1.0.39",
    "WordPress Importer 0.8.1"
  ]
}
Configuration {
  "default_language": "en",
  "enabled_languages": [
    "en",
    "de",
    "ar"
  ],
  "locale": {
    "en": "en_US",
    "de": "de_DE",
    "ar": "ar"
  },
  "date_format": {
    "en": "%A %B %e%q, %Y",
    "de": "%A, \\d\\e\\r %e. %B %Y",
    "ar": "%d/%m/%Y"
  },
  "time_format": {
    "en": "%I:%M %p",
    "de": "%H:%M",
    "ar": "%H:%M"
  },
  "url_mode": 2,
  "use_strftime": 3,
  "filter_options_mode": 0,
  "language_name_case": 0,
  "detect_browser_language": true,
  "hide_untranslated": false,
  "show_menu_alternative_language": false,
  "show_displayed_language_prefix": true,
  "show_alternative_content": false,
  "hide_default_language": true,
  "use_secure_cookie": false,
  "header_css_on": true,
  "text_field_filters": [],
  "disable_client_cookies": false,
  "url_info": {
    "cookie_lang_front": "en",
    "cookie_lang_admin": "en",
    "cookie_front_or_admin_found": true,
    "scheme": "https",
    "host": "markets555.apreila.com",
    "path": "/wp-admin/admin-ajax.php",
    "query": "action=admin_debug_info",
    "path-base": "",
    "wp-path": "/wp-admin/admin-ajax.php",
    "language_neutral_path": true,
    "http_referer": "https://markets555.apreila.com/wp-admin/options-general.php?page=qtranslate-xt",
    "referer_admin": true,
    "doing_front_end": false,
    "lang_cookie_admin": "en",
    "lang_admin": "en",
    "language": "en",
    "set_cookie": false,
    "page_referer": "options-general.php"
  },
  "language": "en",
  "editor_mode": 0,
  "highlight_mode": 1,
  "auto_update_mo": true,
  "hide_lsb_copy_content": false,
  "lsb_style": "simple-buttons.css",
  "config_files": [
    "./i18n-config.json"
  ],
  "custom_fields": [],
  "custom_field_classes": [],
  "post_type_excluded": [],
  "admin_enabled_modules": {
    "acf": false,
    "all-in-one-seo-pack": false,
    "events-made-easy": false,
    "jetpack": false,
    "google-site-kit": false,
    "gravity-forms": false,
    "woo-commerce": false,
    "wp-seo": false,
    "slugs": false
  },
  "translator": {},
  "qtrans_compatibility": false
}
Browser {
  "cookies": [],
  "navigator": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
  "Javascript built-in RegExp: @@split": "supported"
}

Additional context