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 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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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,...
|
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...
|
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...
|
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....
|
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,...
|
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...
|
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... :(
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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...
|
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,...
|
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...
| |