Greetings!

I spent quite some time today trying to figure our why
the block formatting pulldown (Normal, Heading 1, ...)
in Nadmin's content editor didn't work for one of our
clients.

The reason is that the formatting selections need to be
in the same language as the browser, and our client was
using Finnish version of IE.

The result of this problem is that users can't change the
formatting of their topics and articles, and trying to
use the pulldown results in a JavaScript error.

This is easy to fix by modifying the page /nadmin/dhtml
lines 997 - 1005:

  <option value="Normal">Normal
  <option value="Heading 1">Heading 1
  <option value="Heading 2">Heading 2
  <option value="Heading 3">Heading 3
  <option value="Heading 4">Heading 4
  <option value="Heading 5">Heading 5
  <option value="Heading 6">Heading 6
  <option value="Address">Address
  <option value="Formatted">Formatted

To your local language. These are probably the same labels
that are used in MS Word localized to the language. For
example in Finnish:

  <option value="Normaali">Normaali
  <option value="Otsikko 1">Otsikko 1
  <option value="Otsikko 2">Otsikko 2
  <option value="Otsikko 3">Otsikko 3
  <option value="Otsikko 4">Otsikko 4
  <option value="Otsikko 5">Otsikko 5
  <option value="Otsikko 6">Otsikko 6

This is of course an ugly hack, and we can come up with better
solution in Aegir by adding localization calls to the menu.

All in all, it is interesting that an API call requires localized
input. Thanks again, Microsoft. And of course there is nothing
in MSDN about the whole API call...

/Bergie

-- 
Henri Bergius                           [EMAIL PROTECTED]
Consultant Partner                      Tel: +358-20-198 6032
Nemein Oy                               http://www.nemein.com/

Nemein.Net - Project tracking solution for consulting companies
http://www.nemein.com/Nemein.Net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to