Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Hide Language web link set from Portal Home page

(0) ShareShare
ReportReport
Posted on by

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. 

pastedimage1590576532415v1.png

Thanks,

Leo

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at
    RE: Hide Language web link set from Portal Home page

    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

  • Muteeb Javed Profile Picture
    25 on at
    RE: Hide Language web link set from Portal Home page

    Hi I’m having same issue and I’m not able to see this code

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at
    RE: Hide Language web link set from Portal Home page

    did you clear the cache?

  • LeoFernandas Profile Picture
    on at
    RE: Hide Language web link set from Portal Home page

    {% assign homeurl = website.adx_partialurl %}
    
    
    
    {% 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,

    Leo

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at
    RE: Hide Language web link set from Portal Home page

    it's not Home Web Template.. it's the Header Web Template

  • LeoFernandas Profile Picture
    on at
    RE: Hide Language web link set from Portal Home page

    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,

    Leo

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at
    RE: Hide Language web link set from Portal Home page

    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:

    7115.language.PNG

    ------------

    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

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.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 99

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans