0

In my SP2013 environment, I have 2 variations, en-US, and fr-FR. I found an issue where now when I am on the French pages, the currentCultureName is showing en-US for all sites. Language code is 1033. How can this be corrected?

Thanks

1 Answer 1

0

Figured it out. The _spPageContextInfo.currentLanguage and currentCultureName is based on what preference is saved on the user's profile settings. The region/locale field specifically. It is not based on which label the current site is on. Best way to detect language is check the URL directly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.