I am using DNN 9.5.
I have managed to find the Logout text and also ALL the text on the actual login page but cannot locate where the Login link in the top right of the page is actually being translated. The Logout text (top right hand corner) is being translated in the \Admin\Skins\App_LocalResources\Login.ascx and I would have thought the Login should be done there but it's not. I have tried every other resource file I can find but no luck. Can anyone tell me which resource file should work and if there is a possibilty that something else is overiding it.
Thank you.
Sebastian is right (even if this is exactly the file you mentioned in your post), and I wonder why you did not find the text there. There are only two keys in this file, Login.Text and Logout.Text. Three guesses which of these two is the correct one ;-) Happy DNNing! Michael
Hi,
I am not aware of a way to track it (except turning on tracing and knowing what to do with this information maybe - I have never tried that for this purpose). You have to inspect the skin file. It should use the DNN Login control, therefore you should find a reference somewhere on the beginning of the ascx file that reads:
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>
If the skin uses another login control, you should find the resx file in a folder called "App_LocalResources" in the same folder as the ascx file. E.g. if you find a refence to
<%@ Register TagPrefix="custom" TagName="LOGINLOGOUT" Src="~/DesktopModules/Custom/Controls/LoginLogout.ascx" %>
the resx file is named LoginLogout.ascx.[xx-yy.]resx and in the folder DesktopModules/Custom/Controls/App_LocalResources. (xx-yy = culture code).
Another way to accomplish this is using Notepad++ or something alike and search in files for
[value xml:space="preserve"]Logout[/value]
or
[value]Logout[/value]
]Logout[
(replace [ by < and ] by >)
You may start the search in the root of your DNN installion, include subdirectories and filter to *.resx files - in Notepadd++ this is working fine...
Happy DNNing Michael
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.