473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ToolTip not display in Japanese

Hi,

The Tooltip text messages in my web app are not showing up in Japanese. They
just show up as a string of squares in the browser... The text and
errormessages display Japanese text.

Here is how I have localized this:

1. set a culture attribute in web.config: culture=ja-JP

2. in global.asax.cs, I statically instatiate the resource Manager as such:

public static ResourceManager resman = new
ResourceManager("croissantcli.croissantcliRes",
Assembly.GetExecutingAssembly());

3. In a separate .resx file, I have created name-values pairs.

4. Then I access it in my .cs file as such:

CultureInfo ci = Thread.CurrentThread.CurrentCulture;

uText.Text = Global.resman.GetString("uText", ci);
uTT.ToolTip = Global.resman.GetString("uTT", ci);
uEM.ErrorMessage = Global.resman.GetString("uEM", ci);

Both Text & ErrorMessage display Japanese text, but ToolTip display a string
of squares..... , kind of like undefined...

Thanks in advance.
-Shefali

Nov 18 '05 #1
2 2134
i think tooltip is rendered as alt tag so i would assume that it would be
dependant on clients browser settings. i dont know much about cultures but
you have a look under IEs language settings.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"shefali" <sh*****@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
Hi,

The Tooltip text messages in my web app are not showing up in Japanese. They just show up as a string of squares in the browser... The text and
errormessages display Japanese text.

Here is how I have localized this:

1. set a culture attribute in web.config: culture=ja-JP

2. in global.asax.cs, I statically instatiate the resource Manager as such:
public static ResourceManager resman = new
ResourceManager("croissantcli.croissantcliRes",
Assembly.GetExecutingAssembly());

3. In a separate .resx file, I have created name-values pairs.

4. Then I access it in my .cs file as such:

CultureInfo ci = Thread.CurrentThread.CurrentCulture;

uText.Text = Global.resman.GetString("uText", ci);
uTT.ToolTip = Global.resman.GetString("uTT", ci);
uEM.ErrorMessage = Global.resman.GetString("uEM", ci);

Both Text & ErrorMessage display Japanese text, but ToolTip display a string of squares..... , kind of like undefined...

Thanks in advance.
-Shefali

Nov 18 '05 #2
I have exactly the same problem. Did you ever find a solution?
Thanks,
greg

"shefali" wrote:
Hi,

The Tooltip text messages in my web app are not showing up in Japanese. They
just show up as a string of squares in the browser... The text and
errormessages display Japanese text.

Here is how I have localized this:

1. set a culture attribute in web.config: culture=ja-JP

2. in global.asax.cs, I statically instatiate the resource Manager as such:

public static ResourceManager resman = new
ResourceManager("croissantcli.croissantcliRes",
Assembly.GetExecutingAssembly());

3. In a separate .resx file, I have created name-values pairs.

4. Then I access it in my .cs file as such:

CultureInfo ci = Thread.CurrentThread.CurrentCulture;

uText.Text = Global.resman.GetString("uText", ci);
uTT.ToolTip = Global.resman.GetString("uTT", ci);
uEM.ErrorMessage = Global.resman.GetString("uEM", ci);

Both Text & ErrorMessage display Japanese text, but ToolTip display a string
of squares..... , kind of like undefined...

Thanks in advance.
-Shefali

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Thomas | last post by:
Hi there, a while ago, I posted a question regarding reading japanese text from a text file. Well, since I solved the problem, I thought I'd post my solution for the benefit of other people with...
2
by: Stephen | last post by:
I'm trying to work with a datagrid column in order to display a tooltip in a datagrid cell. The reason I am doing this is because I have some long strings being returned and I don't want the rows...
9
by: tomrmgc | last post by:
Here is the problem we've encountered. An application that used to successfully display Japanese Kanji characters no longer does so when recompiled with 7.1 When compiled with the 6.0 compiler,...
3
by: Craig G | last post by:
what way do you code it? i tried the following but it wouldnt display it lblAdd_info is a hidden field in the cell itself that contains the data i want to display in the tooltip text. i added the...
5
by: ODAN | last post by:
I have an application that was developed in ASP.NET/C#. On one of the pages, we are using tooltip to display the description of the textboxes. Wehn you move your mouse over a textbox the tooltip...
3
by: GS | last post by:
I did not find it by Google on Microsoft sites I know 102 is just too long and tooltip would not display at all actually first two level of menuitems does not display tooltip properly....
4
by: rn5a | last post by:
A DataList displays 3 columns - Product, Category & Price. These columns are populated with records from a SQL Server 2005 DB table. Apart from the above 3 DB columns that the resultset retrieves,...
0
by: Jake Montgomery | last post by:
I am using .NET 2.0 forms and running on Windows XP SP2. When I have a tooltip on a combo box, and the combo box is expanded (“dropped down”) using the arrow, it will no longer display it’s...
7
exoskeleton
by: exoskeleton | last post by:
hi guys..hope you can help me...my boss want me to edit our website and apply the tooltip thing, i mean the moving tooltip that follows the mouse.. please help...thank you... :(
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.