Localization support on windows 98 for hindi(India) language

  • Thread starter Thread starter kuldeep
  • Start date Start date
K

kuldeep

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.
 
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.
 
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 said:
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 said:
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.
 
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 said:
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.


in message news:#[email protected]...
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 said:
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.
 
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 said:
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 said:
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.


in message news:#[email protected]...
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

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
 
kuldeep said:
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.

Answers inline with the control types:

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.
2. lables

These should work if the font is set correctly.
3. List View

These should work if the font is set correctly and you have comctl32.dll of
versions 5.80 or later.
4. text boxes

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).
5. Comboboxes

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