Question

I have a front end server where I am getting login prompt when I access the home page. The weird thing in my SharePoint 2010 site is that it is configured with two languages like English and German, but the login prompt is coming only for one language.

I do not understand what configuration dependency is there for one of the language that, its happening only for one of the language and not work for other?

If anyone has come across this kind of issue and have any suggestion, Please advice.

Was it helpful?

Solution

If you're getting a login prompt for a particular page - regardless of which language - it could be due to some files NOT being checked-in + published.

This could be JPG, CSS, or Master Page, Page Layout - or - if the user has put some images in a content editor - and the user needs to AUTH to the page.

Language variations within SharePoint will have different files (behind the scenes) - I'd check to see if any of those are checked out.

OTHER TIPS

Sounds like you have something being loaded on the homepage which triggers login otherwise for a public site you won't expect a login page (which also explains why no login is presented when you view site contents page). Please compare the assets loaded on the homepage between different languages. You can use fiddler or developer toolbar of your browser (chrome works nice, use F12 to open the developer tool and checkout the network tab for 401 return code) and see which request is resulting in unauthorized response (401).

I'm not 100% sure but the prompt will work with your site locale.

Try:

$web =Get-SpWeb <your url>
$web.Locale

And see if that can give you an answer.

You have to create custom login page for your SharePoint 2010 windows authentication.

You can get the reference from the below mentioned link.

Creating a Custom Login Page for Windows Authentication

You have to pass the parameter (as querystring) on the custom login page for language like lng=en OR lng=ger.

When user is going to open the page using the URL then you need to identify the language from the querystring & change the text according to language.

You can check below link to understand how multilingual SharePoint 2010 sites work.

Supported and unsupported language settings

UPDATED

NOTE :- When a user selects a different language, that choice will be remembered for future visits. There is however no option to make the call the any page in SharePoint without coding in other language.

I'm not 100% sure, but the language of your login page should be following the language of your browser/windows box.

Try using IE after setting the preferred language:

Internet Options > General > Languages > Add your language and put it at the top.

(All this provided that the alternative languages have been set here: http://yoursite/_layouts/15/muisetng.aspx)

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top