function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Srinath TeramSrinath Teram 

Fetch current user lang in header file of Customer Portal(HTML File)

Hi,

 

I have a business requirement where the Customer Portal should have a customized look and feel. For achieving that, I am using an HTML file with css uploaded in Documents tab and refering it in Header field of Customer Portal.

Now the requirement is to switch the css based on current users' language. I can switch the css using javascript inside the HTML file if I can get users language to that HTML file when page loads. Is there a way to get the current users' language in that HTML file when the page loads? I tried {!$User.Language}, but was not helpful. Could anyone advice please.

 

Thanks in Advance,

Srinath Teram