AI OnAI Off
Hi Jonas,
The XML structure for those labels should be as follows, but I haven't tested this myself.
<languages>
<language name="English" id="en">
<login>
<loginfailed>Login failed</loginfailed>
<missingpassword>You must enter a password</missingpassword>
<password>Password</password>
<persistentlogin>Remember me</persistentlogin>
<username>Name</username>
<usernamerequired>You must enter a name</usernamerequired>
</login>
</language>
</languages>
Have a look at this article below — it explains how you can get the original language XML that is used by the CMS.
https://www.getadigital.com/blog/translating-episerver-ui/
Thanks.
I used the convention in LocalizationProvider and it worked! Thanks!
This is the complete list of keys
<languages>
<language name="English" id="en">
<cookie>
<logincaption>When you log in, cookies will be used.</logincaption>
<logininfo>A cookie containing login information will be sent to your web browser. If you do not want to receive cookies, you will be unable to log into the website.</logininfo>
</cookie>
<loginstatus>You are logged in as:</loginstatus>
<login>
<loginfailed>Login failed</loginfailed>
<missingpassword>You must enter a password</missingpassword>
<password>Password</password>
<persistentlogin>Remember me</persistentlogin>
<username>Name</username>
<usernamerequired>You must enter a name</usernamerequired>
</login>
<button>
<login>Log in</login>
</button>
<util>
<logout>
<loginagain>Log in again</loginagain>
<logoutbodytextformsauthenticated>Use the link below to log in again.</logoutbodytextformsauthenticated>
<logoutbodytextwindowsauthenticated>Use the link below to log in again.</logoutbodytextwindowsauthenticated>
<logoutbodytextwindowsauthenticateddombrowser>Log out completely by closing all browser windows.</logoutbodytextwindowsauthenticateddombrowser>
<logoutconfirmdialogdombrowser>You are logged in as a Windows authenticated user. Before you are completely logged out you need to close all browser windows.</logoutconfirmdialogdombrowser>
<logoutheader>You are logged out</logoutheader>
<logouttitle>Log Out</logouttitle>
</logout>
</util>
</language>
</languages>
Hi.
I wish to alter the labels for the login page(to CMS and any pages that is protected from non-autenticated users); such as Name and Password. I guess that can be achieved by using language xml-file. I however do not know the convention/structure for Name and Password. Can someone leed me in the right direction, please? :)
Thanks in advance.