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
546 stars 103 forks source link

Taxonomy Metaboxes not translated (Post Edit page) #1339

Open bokamm opened 1 year ago

bokamm commented 1 year ago

Describe the bug The taxonomy metaboxes (for choosing categories and tags) on post edit pages stay English even if another language is selected. Without qtranslate-xt, these metaboxes appear in the language set in Settings > General. In the tags metabox, only the "Separate with commas or the Enter key." line is translated. This happens on a clean install as well as long-running websites.

To Reproduce Steps to reproduce the behavior:

  1. Edit an existing post or select "Add New."
  2. Check the metaboxes for the post attributes to the right.

Expected behavior Metaboxes for taxonomies should be translated (as are the metaboxes "Summary," "Featured image, "Excerpt" etc.

Screenshots English to the right, German (with and without translate active) to the left.

Screenshot 2023-05-08 at 13 49 54

Debug info Versions { "PHP_VERSION": "7.4.30", "WP_VERSION": "6.2", "QTX_VERSION": "3.15.1", "Plugins": [ "Git Updater 12.2.1", "qTranslate-XT 3.15.1", ] }

Configuration { "default_language": "en", "enabled_languages": [ "en", "de", "ja" ], "locale": { "en": "en_US", "de": "de_DE", "ja": "ja" }, "date_format": { "en": "%A %B %e%q, %Y", "de": "%A, \d\e\r %e. %B %Y", "ja": "%Y年%m月%d日" }, "time_format": { "en": "%I:%M %p", "de": "%H:%M", "ja": "%H:%M" }, "url_mode": 2, "use_strftime": 3, "filter_options_mode": 0, "language_name_case": 0, "detect_browser_language": false, "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": "de", "cookie_lang_admin": "en", "cookie_front_or_admin_found": true, "scheme": "https", "host": "xxx", "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": "xxx/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 }, "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 }, "qtrans_compatibility": false }

Browser { "cookies": [], "navigator": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15", "Javascript built-in RegExp: @@split": "supported" }

Additional info Tried with Chrome and Firefox as well.