Connecting Tech Pros Worldwide Forums | Help | Site Map

Localization support on windows 98 for hindi(India) language

kuldeep
Guest
 
Posts: n/a
#1: Nov 15 '05
Hi all,
I have developed a application that supports localization in .net.
It shows all the controls with english and hindi text depending on the
culture selected.
The application runs well on windows 2000 and windows xp but when run on
windows 98 the hindi text appears as garbage. Can anyone help out
with this.(I have installed the .net framework on windows 98)


Regards,
Kuldeep Pawar
Programmer,
Maximize Learning, Pune.




Nicholas Paldino [.NET/C# MVP]
Guest
 
Posts: n/a
#2: Nov 15 '05

re: Localization support on windows 98 for hindi(India) language


Kuldeep,

Are you using a particular font that is possibly not installed on the 98
machine? I am thinking that there is a font missing that is used for the
particular culture, and 98 is trying to revert to the next best thing.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldino=at=exisconsulting<dot>com

"kuldeep" <kuldeep@maximizelearning.com> wrote in message
news:OM33Z0ygDHA.2292@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi all,
> I have developed a application that supports localization in .net.
> It shows all the controls with english and hindi text depending on the
> culture selected.
> The application runs well on windows 2000 and windows xp but when run on
> windows 98 the hindi text appears as garbage. Can anyone help out
> with this.(I have installed the .net framework on windows 98)
>
>
> Regards,
> Kuldeep Pawar
> Programmer,
> Maximize Learning, Pune.
>
>
>[/color]


kuldeep
Guest
 
Posts: n/a
#3: Nov 15 '05

re: Localization support on windows 98 for hindi(India) language


Hi,

Thanks for the reply. I am using "hi-IN" culture which is of India and I
have installed one hindi font on that machine, even after that the text is
not visible(appears garbage). In my application I am storing all the
strings(text of various controls) in resource files(.resx) and display them
depending on the culture selected at runtime. All these strings are unicode.
Is it that unicode is not supported on 98 or just the non availabilty of
hindi font causing the problem? If unicode is not supported on 98 is the
problem then how to overcome it?

Thanks

Regards,

Kuldeep Pawar

Programmer,

Maximize Learning, Pune.


"Nicholas Paldino [.NET/C# MVP]" <nicholas.paldino@exisconsulting.com> wrote
in message news:#V4H$M2gDHA.3324@TK2MSFTNGP11.phx.gbl...[color=blue]
> Kuldeep,
>
> Are you using a particular font that is possibly not installed on the[/color]
98[color=blue]
> machine? I am thinking that there is a font missing that is used for the
> particular culture, and 98 is trying to revert to the next best thing.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - nick(dot)paldino=at=exisconsulting<dot>com
>
> "kuldeep" <kuldeep@maximizelearning.com> wrote in message
> news:OM33Z0ygDHA.2292@TK2MSFTNGP10.phx.gbl...[color=green]
> > Hi all,
> > I have developed a application that supports localization in .net.
> > It shows all the controls with english and hindi text depending on the
> > culture selected.
> > The application runs well on windows 2000 and windows xp but when run on
> > windows 98 the hindi text appears as garbage. Can anyone help out
> > with this.(I have installed the .net framework on windows 98)
> >
> >
> > Regards,
> > Kuldeep Pawar
> > Programmer,
> > Maximize Learning, Pune.
> >
> >
> >[/color]
>
>[/color]


Michael \(michka\) Kaplan [MS]
Guest
 
Posts: n/a
#4: Nov 15 '05

re: Localization support on windows 98 for hindi(India) language


As I said in the other message you have posted, you must

a) have a UNICODE font (most available online are not Unicode)
b) use specific controls (many will not; pst what yOu are using for specific
advice)


--
MichKa [MS]

This posting is provided "AS IS" with
no warranties, and confers no rights.


"kuldeep" <kuldeep@maximizelearning.com> wrote in message
news:u8fn$m%23gDHA.616@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hi,
>
> Thanks for the reply. I am using "hi-IN" culture which is of India and I
> have installed one hindi font on that machine, even after that the text is
> not visible(appears garbage). In my application I am storing all the
> strings(text of various controls) in resource files(.resx) and display[/color]
them[color=blue]
> depending on the culture selected at runtime. All these strings are[/color]
unicode.[color=blue]
> Is it that unicode is not supported on 98 or just the non availabilty of
> hindi font causing the problem? If unicode is not supported on 98 is the
> problem then how to overcome it?
>
> Thanks
>
> Regards,
>
> Kuldeep Pawar
>
> Programmer,
>
> Maximize Learning, Pune.
>
>
> "Nicholas Paldino [.NET/C# MVP]" <nicholas.paldino@exisconsulting.com>[/color]
wrote[color=blue]
> in message news:#V4H$M2gDHA.3324@TK2MSFTNGP11.phx.gbl...[color=green]
> > Kuldeep,
> >
> > Are you using a particular font that is possibly not installed on[/color][/color]
the[color=blue]
> 98[color=green]
> > machine? I am thinking that there is a font missing that is used for[/color][/color]
the[color=blue][color=green]
> > particular culture, and 98 is trying to revert to the next best thing.
> >
> > Hope this helps.
> >
> >
> > --
> > - Nicholas Paldino [.NET/C# MVP]
> > - nick(dot)paldino=at=exisconsulting<dot>com
> >
> > "kuldeep" <kuldeep@maximizelearning.com> wrote in message
> > news:OM33Z0ygDHA.2292@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > Hi all,
> > > I have developed a application that supports localization in .net.
> > > It shows all the controls with english and hindi text depending on the
> > > culture selected.
> > > The application runs well on windows 2000 and windows xp but when run[/color][/color][/color]
on[color=blue][color=green][color=darkred]
> > > windows 98 the hindi text appears as garbage. Can anyone help out
> > > with this.(I have installed the .net framework on windows 98)
> > >
> > >
> > > Regards,
> > > Kuldeep Pawar
> > > Programmer,
> > > Maximize Learning, Pune.
> > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


kuldeep
Guest
 
Posts: n/a
#5: Nov 15 '05

re: Localization support on windows 98 for hindi(India) language


Hi,
Thanks for the reply
I am using the following controls in my application
1. menus
2. lables
3. List View
4. text boxes
5. Comboboxes

I wanted to know that if some of these controls dont support multilingual
then how do i overcome that problem or is it that it is not possible to
display hindi text on these controls.




"Michael (michka) Kaplan [MS]" <michkap@online.microsoft.com> wrote in
message news:eN4JQXThDHA.1872@TK2MSFTNGP10.phx.gbl...[color=blue]
> As I said in the other message you have posted, you must
>
> a) have a UNICODE font (most available online are not Unicode)
> b) use specific controls (many will not; pst what yOu are using for[/color]
specific[color=blue]
> advice)
>
>
> --
> MichKa [MS]
>
> This posting is provided "AS IS" with
> no warranties, and confers no rights.
>
>
> "kuldeep" <kuldeep@maximizelearning.com> wrote in message
> news:u8fn$m%23gDHA.616@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hi,
> >
> > Thanks for the reply. I am using "hi-IN" culture which is of India and I
> > have installed one hindi font on that machine, even after that the text[/color][/color]
is[color=blue][color=green]
> > not visible(appears garbage). In my application I am storing all the
> > strings(text of various controls) in resource files(.resx) and display[/color]
> them[color=green]
> > depending on the culture selected at runtime. All these strings are[/color]
> unicode.[color=green]
> > Is it that unicode is not supported on 98 or just the non availabilty of
> > hindi font causing the problem? If unicode is not supported on 98 is the
> > problem then how to overcome it?
> >
> > Thanks
> >
> > Regards,
> >
> > Kuldeep Pawar
> >
> > Programmer,
> >
> > Maximize Learning, Pune.
> >
> >
> > "Nicholas Paldino [.NET/C# MVP]" <nicholas.paldino@exisconsulting.com>[/color]
> wrote[color=green]
> > in message news:#V4H$M2gDHA.3324@TK2MSFTNGP11.phx.gbl...[color=darkred]
> > > Kuldeep,
> > >
> > > Are you using a particular font that is possibly not installed on[/color][/color]
> the[color=green]
> > 98[color=darkred]
> > > machine? I am thinking that there is a font missing that is used for[/color][/color]
> the[color=green][color=darkred]
> > > particular culture, and 98 is trying to revert to the next best thing.
> > >
> > > Hope this helps.
> > >
> > >
> > > --
> > > - Nicholas Paldino [.NET/C# MVP]
> > > - nick(dot)paldino=at=exisconsulting<dot>com
> > >
> > > "kuldeep" <kuldeep@maximizelearning.com> wrote in message
> > > news:OM33Z0ygDHA.2292@TK2MSFTNGP10.phx.gbl...
> > > > Hi all,
> > > > I have developed a application that supports localization in .net.
> > > > It shows all the controls with english and hindi text depending on[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > > culture selected.
> > > > The application runs well on windows 2000 and windows xp but when[/color][/color][/color]
run[color=blue]
> on[color=green][color=darkred]
> > > > windows 98 the hindi text appears as garbage. Can anyone help out
> > > > with this.(I have installed the .net framework on windows 98)
> > > >
> > > >
> > > > Regards,
> > > > Kuldeep Pawar
> > > > Programmer,
> > > > Maximize Learning, Pune.
> > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Michael \(michka\) Kaplan [MS]
Guest
 
Posts: n/a
#6: Nov 15 '05

re: Localization support on windows 98 for hindi(India) language


"kuldeep" <kuldeep@maximizelearning.com> wrote...
[color=blue]
> Hi,
> Thanks for the reply
> I am using the following controls in my application
> 1. menus
> 2. lables
> 3. List View
> 4. text boxes
> 5. Comboboxes
>
> I wanted to know that if some of these controls dont support multilingual
> then how do i overcome that problem or is it that it is not possible to
> display hindi text on these controls.[/color]

Answers inline with the control types:
[color=blue]
> 1. menus[/color]

Not realistically possible, as the font choice is the user's, not yours, and
on Win9x the "A" APIs are all that is available. It is vaguely possible to
support this via owner draw but I do not think think the .NET control will
support this.
[color=blue]
> 2. lables[/color]

These should work if the font is set correctly.
[color=blue]
> 3. List View[/color]

These should work if the font is set correctly and you have comctl32.dll of
versions 5.80 or later.
[color=blue]
> 4. text boxes[/color]

These will not work, as the system EDIT control is being used here. You
could move to owner draw but that is a huge effort and you would be better
os using the RichTextBox instead since it will support Unicode (just set the
font correctly).
[color=blue]
> 5. Comboboxes[/color]

Not sure on this one. but I suspect that the OS controls are used with most
styles. You can try and see?


--
MichKa [MS]

This posting is provided "AS IS" with
no warranties, and confers no rights.



Closed Thread