Notifications
Announcements
No record found.
Hi Team,
I'm trying to hide Language web link set from Portal home page but I do not find this web link from Primary web link set. Could you please tell me how to hide this.
Thanks,
Leo
You should only see that if you enable multiple languages for your Portals
you can either remove the additional "Website Language" record or change the "Header" Web Template removing or changing the condition highlighted:
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
We highly recommend users to migrate to PowerUsers community for new Portal questions:
powerusers.microsoft.com/.../PowerAppsPortals
Hi Oliver,
Thank you! I'm able to see only the below code in Home web template and couldn't see the line of code you have highlighted in below code. Could you please tell me where I can deactivate web language.
{% assign forums_sm = sitemarkers["Forums"] %} {% editable snippets "Home/MostPopularHeading" default: resx["Most_Popular"] %}
Thank you,
it's not Home Web Template.. it's the Header Web Template
{% assign homeurl = website.adx_partialurl %} {% editable snippets 'Mobile Header' type: 'html' %} {% editable snippets 'Navbar Left' type: 'html' %} Toggle navigation {% assign primary_nav = weblinks["Primary Navigation"] %} {% if primary_nav %} {% for link in primary_nav.weblinks %} {% unless forloop.first %} {% endunless %} {% if link.display_page_child_links %} {% if link.url != null %} {% assign sublinks = sitemap[link.url].children %} {% endif %} {% else %} {% assign sublinks = link.weblinks %} {% endif %} 0 -%} href="#" class="dropdown-toggle" data-toggle="dropdown" {%- else -%} href="{{ link.url | escape }}" {%- endif -%} {%- if link.Open_In_New_Window %} target="_blank" {% endif -%} {%- if link.nofollow %} rel="nofollow"{% endif -%} {%- if link.tooltip %} title="{{ link.tooltip | escape }}"{% endif %}> {%- if link.image -%} {%- if link.image.url startswith '.' -%} {%- else -%} {%- endif -%} {%- endif -%} {%- unless link.display_image_only -%} {{ link.name | escape }} {%- endunless -%} {%- if sublinks.size > 0 -%} {%- endif -%} {% if sublinks.size > 0 %} {% if link.url %} {{ link.name }} {% endif %} {% for sublink in sublinks %} {{ sublink.name | default:sublink.title }} {% endfor %} {% endif %} {% endfor %} {% assign search_enabled = settings['Search/Enabled'] | boolean | default:true %} {% if search_enabled %} {% include 'Search' %} {% endif %} {% if user %} {{ user.fullname | escape }} {% assign show_profile_nav = settings["Header/ShowAllProfileNavigationLinks"] | boolean | default:true %} {% if show_profile_nav %} {% assign profile_nav = weblinks["Profile Navigation"] %} {% if profile_nav %} {% for link in profile_nav.weblinks %} {{ link.name | escape }} {% endfor %} {% endif %} {% else %} {{ snippets["Profile Link Text"] | default:"Profile" }} {% endif %} {{ snippets["links/logout"] | default:resx["Sign_Out"] | escape }} {% else %} {{ snippets["links/login"] | default:resx["Sign_In"] }} {% endif %} {% editable primary_nav %} {% endif %} {% editable snippets 'Navbar Right' type: 'html' %} {% substitution %} {% assign current_page = page.id %} {% assign sr_page = sitemarkers["Search"].id %} {% assign forum_page = sitemarkers["Forums"].id %} {% if current_page == sr_page or current_page == forum_page %} {% assign section_class = "section-landing-search" %} {% if current_page == forum_page %} {% assign section_class = "section-landing-forums" %} {% endif %} {% if current_page == sr_page %} {% editable snippets 'Search/Title' default: resx["Discover_Contoso"] %} {% include 'Search' %} {% endif %} {% endif %} {% endsubstitution %}
Thanks for letting me know this. I've commented out the whole block where language is included but i'm still able to see language dropdown.
Regards,
did you clear the cache?
Hi I’m having same issue and I’m not able to see this code
The code responsible for rendering the language dropdown is in Liquid, so my guess is that your commenting tag is being ignored
can you try removing the code between lines 105 and 115 completely? or using the liquid comment tags:
{% comment %}
{% endcomment %}
sorry about the delay, I am not very active in this forum, please refer to powerusers.microsoft.com/.../PowerAppsPortals for Power Apps Portals questions
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 70 Super User 2025 Season 2
Gerardo RenterÃa Ga... 43 Most Valuable Professional
Daniyal Khaleel 32 Most Valuable Professional