Different language when unknown hostheader in Sharepoint Site...?

Michael Fana 0 Reputation points
2023-03-02T19:07:43.27+00:00

Hi everybody!

Hi have a bit (for me confusing) behaviour of a sharepoint site. My environment:

Server 2019 in german, Sharepoint 2019 in english + language pack in german.

Created a site via Poweshell with language code 1031. The web-application is the hostname of the server as URL. In IIS i can see under bindings, that everything on port 80 is "accepted" for this web-application.

My "problem": when i open the page with hostname in the URL, everything works fine. The whole website appears with german language. When i open the same site by the ip address, "localhost" or another hostheader, the website appears in english. When i navigate to "Site Settings" the settings site appears in german, also when i click on any item and a editing menu opens is in german language....

I do not understand this behaviour... The language for the user is also set to german in the user settings...

I want the site to appear in german regardless of the hostheader...

Thank you

Micha

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,517 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Yanli Jiang - MSFT 21,126 Reputation points Microsoft Vendor
    2023-03-03T09:43:31.5533333+00:00

    Hi @Michael Fana ,

    Could you please provide more details and screenshots for your question?

    For language settings, I found some articles for your reference:

    https://support.microsoft.com/en-us/office/change-your-personal-language-and-region-settings-caa1fccc-bcdb-42f3-9e5b-45957647ffd7#ID0EBBH=Server

    https://support.microsoft.com/en-us/office/choose-the-languages-for-a-sharepoint-site-user-interface-16d3a83c-05ab-4b50-8fbb-ff576a3351e8

    https://learn.microsoft.com/en-us/sharepoint/troubleshoot/sites/change-default-language-site-collection

    https://sharepointmaven.com/how-to-adjust-sharepoint-language-settings/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link. 

     


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Michael Fana 0 Reputation points
    2023-03-03T11:56:43.8233333+00:00

    The links i already tried. Here are some Screenshots:

    Here the site appears correct with the URL which is defined in the web-application:

    01_Correct

    The language setting of the Website:

    Website_Setting

    The language setting of the user:

    User_Setting

    I edited my host-file on local PC to test another hostheader:

    hostfile

    When i open the website with different hostheader - the site appears in english:

    Hostheader_english

    When i navigate to the Site Settings, they appear in german:

    Website_Settings_German