Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Why doesn´t this skin.xml file work?Why doesn´t this skin.xml file work?
Previous
 
Next
New Post
2/7/2006 3:14 PM
 

I have successfully made a skin using the HTML-method. Menus and everything is working fine.

But I also wanted to make some of the items on the page customized (translated to Swedish) so I decide to use a skin.xml-file. However, it seems that when uploading it DNN kind of ignores it...

Because when I apply the skin the text for [LOGIN] is still "Login" instead of "Logga in" that I stated in the skin.xml-file. What am I missing here?

Some extracts from the processing:

Initialize processor for skin/container files: Skins :: VIPstory basic

􀁺 Loaded package level attribute file: Skin.xml

(...)

􀁺 Processing token: [USER]

􀁺 Token is skin object: Admin/Skins/User.ascx

􀁺 Token found in attributes file: [USER]

􀁺 Formatting control statement: <dnn:USER runat="server" id="dnnUSER" />

􀁺 Processing token: [LOGIN]

􀁺 Token is skin object: Admin/Skins/Login.ascx

􀁺 Token found in attributes file: [LOGIN]

􀁺 Formatting control statement: <dnn:LOGIN runat="server" id="dnnLOGIN" />

And this is the xml-file:
<Objects>
 <Object>
  <Token>[LOGIN]</Token>
  <Settings>
   <Setting>
    <Name>Text</Name>
    <Value>Logga in</Value>
   </Setting>
   <Setting>
    <Name>LogOffText</Name>
    <Value>Logga ut</Value>
   </Setting> 
  </Settings> 
 </Object>
 <Object>
  <Token>[CURRENTDATE]</Token>
  <Settings>
   <Setting>
    <Name>DateFormat</Name>
    <Value>yyyy-MM-dd</Value>
   </Setting>
  </Settings> 
 </Object>
 <Object>
  <Token>[USER]</Token>
  <Settings>
   <Setting>
    <Name>Text</Name>
    <Value>Registrera</Value>
   </Setting>
  </Settings> 
 </Object>
</Objects>

 
New Post
2/7/2006 5:19 PM
 

Doesn't the language selected as Swedish do the job? I have not myself used the Text= settings so I guess I dont know enough.

Salar

 
New Post
2/8/2006 8:17 AM
 

Nope, no effect on that from choosing language. The date format is transformed but not link texts like "Terms", "Privacy" or "Login/Logout"¨which seems odd...

/S

 
New Post
2/8/2006 10:20 AM
 
It looks to me that the language pack needs to be looked at. I can see the changes in French and German reflected in login and register.

Salar
 
New Post
2/8/2006 11:59 AM
 

XML file should no longer be used for localizing default skin object. Please ignore all these text settings and use language editor instead.

If you only get an outdated Language pack, you can use the resource verifier (found at host menu, item languages) to identify missing localization keys and complete translation using the language editor.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Why doesn´t this skin.xml file work?Why doesn´t this skin.xml file work?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out