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...DNN Website in Hindi!!!!DNN Website in Hindi!!!!
Previous
 
Next
New Post
9/18/2009 10:09 AM
 

Lok for the files fckconfig.js and fckconfigsecure.js in \Providers\HtmlEditorProviders\Fck\Custom\

These files contain an entry that begins with FCKConfig.FontNames and contain a semi-column separated list of fonts. If you add your fonts to these lists, they will appear in the fonts dropdown of your editor. This then (in combination with your Hindi keyboard driver) will display your text in Hindi.

The weakness of this strategy is that you may have to repeat the procedure for each update of dnn, or that at least you will have to check wether these files were overwritten or not.

Alternatively, you could write the text in your favorite word processor in Hindi and copy/paste it to the fck editor. You might then want to go look in the source code (the first button of the editor says 'source') to clean out html markups that your word processor has inserted but do not serve any purpose. As a matter of fact, you can even change the font in the source. You may need some familiarity with HTML and css. But then again, how much expertise do you need to figure out fontnames and replace them with a fontname of your selection.

It works for Khmer, for which there isn't any localisation available.

 


____________________________________
The one-eyed in the land of the blind.
 
New Post
9/21/2009 9:11 AM
 

I am not sure, the previous poster understood your issue quite well - adding additional fonts will not really help you, they need tobe present on the client pc.

if you have issues entering hindi text, you need to make sure to use UTF-8 and a font installed, which includes Hindi characters.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/24/2009 11:02 AM
 

If he is still looking and replies, I will be glad to help him out. I had to figure it all out myself, and these are the solutions I found. I get help in dnn forums, so I am glad to help out with what I found out if someone else needs help.

Sure, I might have mentioned that you need to have the fonts installed. If you live/work in the west, this would certainly be an issue. If you live in India and use Hindi on a daily basis, you are likely to have these fonts already installed, and you are likely to have the apropriate keyboard driver that produces the UTF-8 codification installed as well. When you install the one, you usually also install the other. In theory, one could even produce a Hindi website without the fonts installed, but the person entering the Hindi text would then not see what he was producing. All that really matters is to get the right UTF-8 codes in place. As long as the visitor to your website has those fonts.

The question was not how to produce Hindi text on a computer, but how to include that in DNN. I have now extensively browsed through the language aspects included in DNN(only to find out that it might take another couple of years and/or maybe another host to make my site fully multi-language). Making the text in a word processor that can produce Rich Text format and then copying it into the editor must have been the intended method to enter complicated unicode encodings. The error I made in the beginning was not to save the texts first to RTF, it seems. I am now that much wiser.

But indeed, to create RTF in Hindi would be difficult without these fonts installed.

The solution to patch the javascript code eliminates the step of copying/pasting and may be a suggestion for the implementation of the localization of the content.

I should maybe have included a warning to use only fonts that you may expect the reader of your site to have on his/her computer or for which the OS can define a proper replacement. But unlike Khmer, support for Hindi seems to have been included in Windows XP (Khmer unicode support was for the first time included in Office 2003), so readers browsing through a Hindi website will likely have Hindi fonts installed and all support needed. What I mean is, he should basically use a font supplied by the OS or one of that font family, so that the browser has a way to default to an available font. 


____________________________________
The one-eyed in the land of the blind.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...DNN Website in Hindi!!!!DNN Website in Hindi!!!!


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