Title: Issues with language switcher
Last modified: February 12, 2024

---

# Issues with language switcher

 *  [paulsally](https://wordpress.org/support/users/paulsally/)
 * (@paulsally)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/issues-with-language-switcher/)
 * I’m facing an issue where I can’t seem to get the language switcher work properly.
 * I set it up so that the current language is hidden and there are only two languages
   so only the other language is shown. However, when you click on it the page is
   not redirected onto that language. This holds true with both settings: Detect
   browser language activated and deactivated (though slightly different behaviour).
   I also tried to change the default language of the browser from EN to IT and 
   while it does work for some time, after a few clicks it seems to stop working
   and one cannot go back to the IT version.
 * You can see for yourself at [https://www.lucentumrooms.it/](https://www.lucentumrooms.it/)
   where I’ve left the Language Switcher visible though it’s not working.
 * The default language of the website is set to EN and currently the Detect browser
   language is active so that in the first instance the behaviour is what is expected(
   redirected to browser preferred language).
 * I paste down here the system info:
 *     ```wp-block-code
       ` wp-core
   
       version: 6.4.2site_language: en_GBuser_language: en_GBtimezone: Europe/Romepermalink: /%category%/%postname%/https_status: truemultisite: falseuser_registration: 0blog_public: 0default_comment_status: openenvironment_type: productionuser_count: 2dotorg_communication: true wp-paths-sizes
   
       wordpress_path: /web/htdocs/www.lucentumrooms.it/homewordpress_size: 2.18 GB (2344521857 bytes)uploads_path: /web/htdocs/www.lucentumrooms.it/home/wp-content/uploadsuploads_size: 119.30 MB (125093560 bytes)themes_path: /web/htdocs/www.lucentumrooms.it/home/wp-content/themesthemes_size: 18.04 MB (18913732 bytes)plugins_path: /web/htdocs/www.lucentumrooms.it/home/wp-content/pluginsplugins_size: 106.07 MB (111218726 bytes)database_size: 12.00 MB (12582912 bytes)total_size: 2.43 GB (2612330787 bytes) wp-active-theme
   
       name: Hotel Master Child (hotelmaster-child)version: 1.0.0author: Sara Polselliauthor_website: https://lookatthat.cloudparent_theme: Hotel Master (hotelmaster)theme_features: core-block-patterns, widgets, woocommerce, widgets-block-editor, post-thumbnails, menus, title-tag, automatic-feed-links, post-formats, editor-styletheme_path: /web/htdocs/www.lucentumrooms.it/home/wp-content/themes/hotelmaster-childauto_update: Disabled wp-parent-theme
   
       name: Hotel Master (hotelmaster)version: 4.1.8author: Goodlayersauthor_website: http://www.goodlayers.comtheme_path: /web/htdocs/www.lucentumrooms.it/home/wp-content/themes/hotelmasterauto_update: Disabled wp-plugins-active (14)
   
       Connect Polylang for Elementor: version: 2.4.3, author: Creame, Auto-updates disabledContact Form 7: version: 5.8.5, author: Takayuki Miyoshi (latest version: 5.8.7), Auto-updates disabledCustom Fonts: version: 2.1.1, author: Brainstorm Force (latest version: 2.1.3), Auto-updates disabledElementor: version: 3.18.3, author: Elementor.com (latest version: 3.19.2), Auto-updates disabledGoodlayers Hotel Plugin: version: 3.1.3, author: Goodlayers, Auto-updates disabledGoodlayers Portflio Post Type: version: 1.0.1, author: Goodlayers, Auto-updates disabledGoodlayers Shortcode: version: 1.0, author: Goodlayers, Auto-updates disabledMaster Slider Pro: version: 3.6.5, author: averta, Auto-updates disabledPolylang: version: 3.5.3, author: WP SYNTEX (latest version: 3.5.4), Auto-updates disabledSmush: version: 3.15.3, author: WPMU DEV (latest version: 3.15.5), Auto-updates disabledSVG Support: version: 2.5.5, author: Benbodhi, Auto-updates disabledWP-CFM: version: 1.7.8, author: Forum One (latest version: 1.7.9), Auto-updates disabledWP Maps: version: 4.5.5, author: flippercode (latest version: 4.5.6), Auto-updates disabledYoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled wp-plugins-inactive (3)
   
       Akismet Anti-spam: Spam Protection: version: 5.3, author: Automattic - Anti-spam Team (latest version: 5.3.1), Auto-updates disabledGoodlayers Hostel Plugin: version: 3.1.1, author: Goodlayers, Auto-updates disabledGoodlayers Importer: version: 1.0.3, author: Goodlayers, Auto-updates disabled wp-media
   
       image_editor: WP_Image_Editor_Imagickimagick_module_version: 1690imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.orgimagick_version: 3.7.0file_uploads: 1post_max_size: 128Mupload_max_filesize: 128Mmax_effective_size: 128 MBmax_file_uploads: 50imagick_limits:imagick::RESOURCETYPE_AREA: 122 MBimagick::RESOURCETYPE_DISK: 1073741824imagick::RESOURCETYPE_FILE: 786432imagick::RESOURCETYPE_MAP: 512 MBimagick::RESOURCETYPE_MEMORY: 256 MBimagick::RESOURCETYPE_THREAD: 1imagick::RESOURCETYPE_TIME: 1.844674407371E+19imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUVgd_version: bundled (2.1.0 compatible)gd_formats: GIF, JPEG, PNG, WebP, BMP, XPMghostscript_version: unknown wp-server
   
       server_architecture: Linux 5.4.0-128-generic x86_64httpd_software: Apachephp_version: 8.2.13 64bitphp_sapi: fpm-fcgimax_input_variables: 3000time_limit: 900memory_limit: 1024Mmax_input_time: 60upload_max_filesize: 128Mphp_post_max_size: 128Mcurl_version: 7.68.0 OpenSSL/1.1.1fsuhosin: falseimagick_availability: truepretty_permalinks: truehtaccess_extra_rules: falsecurrent: 2024-02-12T11:50:32+00:00utc-time: Monday, 12-Feb-24 11:50:32 UTCserver-time: 2024-02-12T12:50:30+01:00 wp-database
   
       extension: mysqliserver_version: 8.0.32-24client_version: mysqlnd 8.2.13max_allowed_packet: 67108864max_connections: 10000 wp-constants
   
       WP_HOME: undefinedWP_SITEURL: undefinedWP_CONTENT_DIR: /web/htdocs/www.lucentumrooms.it/home/wp-contentWP_PLUGIN_DIR: /web/htdocs/www.lucentumrooms.it/home/wp-content/pluginsWP_MEMORY_LIMIT: 40MWP_MAX_MEMORY_LIMIT: 1024MWP_DEBUG: trueWP_DEBUG_DISPLAY: falseWP_DEBUG_LOG: trueSCRIPT_DEBUG: trueWP_CACHE: falseCONCATENATE_SCRIPTS: undefinedCOMPRESS_SCRIPTS: undefinedCOMPRESS_CSS: undefinedWP_ENVIRONMENT_TYPE: UndefinedWP_DEVELOPMENT_MODE: undefinedDB_CHARSET: utf8mb4DB_COLLATE: undefined wp-filesystem
   
       wordpress: writablewp-content: writableuploads: writableplugins: writablethemes: writable pll_options
   
       browser: 1: Detect browser language activatedrewrite: 1: Remove /language/ in pretty permalinkshide_default: 1: Hide URL language information for default languageforce_lang: 1: The language is set from the directory name in pretty permalinksredirect_lang: 1: The front page URL contains the language code instead of the page name or page idmedia_support: 1: The media are translatedsync: 0: Synchronization disabledpost_types: post, page, wp_block, attachment, portfolio, room, service, elementor_library, e-landing-pagetaxonomies: category, post_tag, portfolio_tag, portfolio_category, page_categoryversion: 3.5.3default_lang: enmain_menu: en => 55 | it => 107 pll_language_en
   
       name: Englishslug: enterm_group: 0term_id: 62locale: en_GBis_rtl: 0w3c: en-GBfacebook: en_GBhome_url: https://www.lucentumrooms.it/search_url: https://www.lucentumrooms.it/page_on_front: 5330page_for_posts: 0flag_code: gbflag_url: https://www.lucentumrooms.it/wp-content/plugins/polylang/flags/gb.pngcustom_flag_url: 0active: truefallbacks: 0is_default: trueterm_props:language/term_id: 62language/term_taxonomy_id: 62language/count: 210term_language/term_id: 63term_language/term_taxonomy_id: 63term_language/count: 39 pll_language_it
   
       name: Italianoslug: itterm_group: 1term_id: 59locale: it_ITis_rtl: 0w3c: it-ITfacebook: it_IThome_url: https://www.lucentumrooms.it/it/search_url: https://www.lucentumrooms.it/it/page_on_front: 5684page_for_posts: 0flag_code: itflag_url: https://www.lucentumrooms.it/wp-content/plugins/polylang/flags/it.pngcustom_flag_url: 0active: truefallbacks: 0is_default: 0term_props:language/term_id: 59language/term_taxonomy_id: 59language/count: 2term_language/term_id: 60term_language/term_taxonomy_id: 60term_language/count: 1 pll_warnings
   
       wpml:themes/hotelmaster: /web/htdocs/www.lucentumrooms.it/home/wp-content/themes/hotelmaster/wpml-config.xml
       ```
   
 * Can you please help me understand what is happening?
 * Thanks very much.
   Best regards,.S.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissues-with-language-switcher%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Issues with language switcher’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [paulsally](https://wordpress.org/support/users/paulsally/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/issues-with-language-switcher/)
 * Status: not resolved