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...Language and In...Language and In...Another issue with HebrewAnother issue with Hebrew
Previous
 
Next
New Post
9/14/2008 3:48 PM
 

I've been busy trying to convert some parts of DNN to Hebrew, which is a right-to-left language (I know that there's an "unofficial" Hebrew project but I have some special needs and it's easier for me to start with the English version).

One of the things I find most annoying is the fact that "align=left" is scattered all over DNN, and I have to locate and remove them manually.

You see, if I define the document to be right-to-left (a very simple task - just "direction:rtl" in the CSS or "dir=rtl" in the HTML tag of default.aspx), everything is automatically right-aligned - except when "align=left" is specified explicitly.

"align=left" is redundant in most cases for left-to-right languages. It's the default unless something else is inherited from a tag higher in the hierarchy (and in most cases this parameter is not inherited). In left-to-right languages, specifying "align=left" or omitting the align parameter altogether give the same results. But in right-to-left languages omitting the align parameter results in right-alignment (as it should), while specifying "align=left" keeps the content aligned to the left and disturbs the whole layout.

Please, developers, go over your code and remove any "align=left" that shouldn't be there, to make Hebrew (and Arabic and other right-to-left languages) easier to implement.

A good example is in DesktopModules/AuthenticationServices/DNN/Login.ascx. I had to remove 8 totally redundant "align=left" parameters from a 37-line file to make the Login screen appear correctly. There's no reason for these aligns to be there in the first place. And there are more, many more.

 

 

 
New Post
9/15/2008 4:20 AM
 

For core framework and each core module affected, please enter this as a task into the public issue tracker in support.dotnetnuke.com

Thank you.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/15/2008 8:45 AM
 

Hello.

I've been working with DNN for some time and what sets the rtl-ltr is the skin object.

removal of the alignment instruction can be done by using some simple localization modules.

however I agree that they souldn't be there in the first place.

Shay

 
New Post
9/15/2008 11:15 AM
 

 

... and then there's another issue. Items that now have "algin=right" which should be converted to "align=left" for RTL languages.

So the ideal solution would be: (1) use "align=" only when absolutely necessary (i.e. where the layout is incorrect for LTR languages if "align=" is not used). (2) Do not use a literal value for alignment but rather a configuration value, one for "align with the language" (left for LTR, right for RTL), another for "align against the language" (right for LTR, left for RTL).

 
New Post
9/15/2008 11:40 AM
 

Note the following issues are fixed in DNN 5 

DNN-7001

DNN-3174

These issues have not been fixed:

SKN-7000

DNN-3175

If you have any specific issues from 4.9.0 onwards (other than the above issues) above please log them issue by issue in:

http://support.dotnetnuke.com

Cheers!

 

 



Alex Shirley


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Another issue with HebrewAnother issue with Hebrew


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