Translation keys for login page

Vote:
 

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.

#290574
Oct 25, 2022 15:25
Vote:
 

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/ 

#290610
Edited, Oct 26, 2022 7:12
Vote:
 

Thanks. 

I used the convention in LocalizationProvider and it worked!  Thanks!

#290614
Oct 26, 2022 8:47
Vote:
 

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>
#290615
Edited, Oct 26, 2022 9:28
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.