all groups > dotnet internationalization > february 2005
Localized strings in dynamically loaded assemblies not retrieved
Posted by Ben Cline at 2/26/2005 12:03:06 AM
I seem to be having a problem accessing the resource information in
dynamically loaded assemblies.
This best explained using an example.
I have a class called TestClass in a Test.dll. Using a TestClass.resx,
TestClass.de.resx and a TestClass.de-AT.resx I can compile to the following
struct... more >>
Resource File Manipulation
Posted by JezB at 2/25/2005 5:30:25 PM
I have used ResourceWriter and ResourceReader for writing a reading resource
files.
What I want to know is, can I open a resource file in "Append" mode so that
I can read entries from it and add new entries that don't yet exist ?
Or will I have to open a ResourceReader, read and save all the... more >>
ImeMode.On And ImeMode.Off
Posted by Ben Foster at 2/23/2005 8:57:27 PM
What do ImeMode.On and ImeMode.Off actually do ? From what I can see they
don't appear to actually do anything. The documentation says that they turn
the IME on and off but the IME remains active and usable even when a
TextBox's ImeMode is Off. I'm obviously missing something but I don't see
... more >>
How to debug WinRes.exe for Form that has subclass ?
Posted by Dan Noel at 2/22/2005 1:03:04 PM
I have a series of forms and controls that I would like to localize using
WinRes.exe. These forms come up OK with Visual Studio, but I get the error
"Value does not fall within the expected range" when I attempt to bring up
these forms with winres.exe
Trolling newsgroups, I have discovered ... more >>
strong named assembly doesn't find satellite assemblies
Posted by RainerI at 2/22/2005 7:37:04 AM
Hello everybody
i have an assembly which uses satellite assemblies. The ResourceManager
finds the resources and everything works fine. But when i make this assembly
strong named by placing [assembly: AssemblyKeyFile(<path-to-Keyfile>)] in
AsseblyInfo.cs and recompile my solution the Resourc... more >>
Custom Globlization.Calendar
Posted by Islam Elkhayat at 2/22/2005 2:08:45 AM
I know how to load Cultures & resources
but I'm still unable to load my custom calender
Cultureinfo ci= new Culureinfo("ar-EG");
Thread.CurrentThread.CurrentCulture = ci;
ci.DateTimeFormat.Calender = new myproj.MyCal();
i get an error say that my calender is not correct for the specified cu... more >>
ANSI encoded file and Japanese Character rendering on a Japanese workstation
Posted by Lakshmi at 2/21/2005 2:47:53 PM
A japanese customer sent me a file, ids.txt, containing a list of Employeed
ids. These ids are a
mix of "Japanese Characters" and English characters. I can open this file
in notepad on a
Japanese enabled workstatation and when I do a File->Save, it shows the
encoding as unicode.
When I sa... more >>
Pseudo-Localize First
Posted by John at 2/21/2005 10:29:36 AM
We're introducing a new approach for producing internationalized and
localized software. We invite criticism and comment on this
"pseudo-localize first" strategy.
Does it pass the "laugh test"?
Pseudo-languages are nothing new to development of world-ready
software. For years companies have ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Localization of Windows applications
Posted by Radha Krishna Srimanthula at 2/20/2005 10:03:03 PM
Hi,
A question regarding resources and localization:
My application has several modules (some exes and some dlls). The exes are
windows forms based modules built in C#. My solution has different projects
for these exes and dlls.
1. I would like to have all the forms compiled as part ... more >>
Mirrored TabControl on XP
Posted by Latief at 2/20/2005 12:09:03 PM
I m working on an Arabic/English project.
One of the first recommendations was the Mirroring technique for Controls
that Do no draw themsleves from the Right .
The mirroring can be applied successfully on the TabControl when it is
running on (win2003 and Winxp - actually my testing environemnt... more >>
Unicode and ofstream
Posted by TomTom at 2/19/2005 4:23:15 PM
Hi,
I have a very simple program below. I am trying to output Unicode characters
in a file.
-----------
ofstream logFile("myLog.txt");
logFile << L"ABC"; // In the actual scenario, the characters will
include multinational characters.
---------
After the program is run,... more >>
Where LPINPUTCONTEXT and etc. are defined?
Posted by Andrew at 2/19/2005 1:59:02 PM
Hi, friends,
Any one knows that where LPINPUTCONTEXT, IMMGWL_PRIVATE, IMMGWL_IMC, and
etc. are defined?
I included <imm.h> and <ime.h>, linked to imm32.dll, VC++ still complains
that they are not defined.
Thanks a lot.... more >>
General questions
Posted by johnnyholland NO[at]SPAM hotmail.com at 2/17/2005 7:03:23 AM
Hi.
I am about to embark on a large asp.net project and I have a few basic
globalisation questions that I would appreciate help with.
1. Does one need to cater for 'vertical' languages (Japanese, Korean,
Chinese, etc) or are there simplified versions that can be displayed
horizontally?
2... more >>
Question about setting a culture
Posted by Poonam at 2/16/2005 1:15:09 PM
Hi,
I am writing a .NET based web application which is localized also. I am
using Form Authentication and I use following code to transfer to the next
page:
FormsAuthentication.RedirectFromLoginPage(email, false);
Now on Session Start, I have following code:
protected void Session_Start(... more >>
Question about currentCulture class.
Posted by Poonam at 2/16/2005 1:15:06 PM
Hi,
I am writing a .NET based web application which is localized also. I am
using Form Authentication and I use following code to transfer to the next
page:
FormsAuthentication.RedirectFromLoginPage(email, false);
Now on Session Start, I have following code:
protected void Session_Start(... more >>
Globalization
Posted by Chris Dufour at 2/15/2005 3:30:36 PM
What is the best approach to supporting multiple languages for lsit items serverd up from a database. For instance a french translation for the products table. These translations will have to availaible for reporting as well.
From http://www.developmentnow.com/g/35_0_0_0_0_0/dotnet_internationali... more >>
Directory Exists In Japanese
Posted by John Bowman at 2/15/2005 11:11:37 AM
Hi,
I've got a simple C# app that needs to know where the Shared Docments folder
is. So it dutifully calls SHGetFolderPath and retrieves it successfully on
various languages - in particular Japanese.
By looking at the value via MessageBox.Show() calls under True Japanese XP,
I can asee... more >>
Form.RightToLeft doesn't respect GetProcessDefaultLayout
Posted by Ben Foster at 2/14/2005 4:57:04 PM
The System.Windows.Forms.Form.RightToLeft property doesn't respect
GetProcessDefaultLayout. (I say this because calling SetProcessDefaultLayout
before the form is created has no effect on the form yet
GetProcessDefaultLayout reports that the default layout has been set). Why
doesn't it respe... more >>
Crystal reports internationalization
Posted by Alvaro Rodriguez at 2/11/2005 5:14:31 AM
Hello,
We're developing a system using the Crystal Reports tool
bundled with Visual Studio .NET 2003 to build our reports.
Our system is fully internationalized, but AFAIK there is
no way to localize a Crystal report other than to translate
every label yourself (maybe using a third party tr... more >>
Easy way to manage localization?
Posted by Simon Kittle at 2/9/2005 8:30:52 AM
Hi,
I have an application which is going to need to be localized. It's
been trivial to use the ResourceManager to enable me to store all my
in-code strings within a text file and simply compile it to a resource
DLL, having one for each language.
What I'd like ot know is if there is an easy... more >>
Display of Japanese and Chinese Text in a Textbox
Posted by Ronnie Thompson at 2/8/2005 12:31:04 PM
I have a C# application on Windows 2000. When typing in a text box using the
Japanese or Chinese keyboard, the characters appear properly. However, once
focus is lost on the field, the characters display as a series of boxes. I
must highlight the text, right-click, and select Reconversion in o... more >>
What is the correct way of specifying mixed strings with parameters...
Posted by Jochen Kalmbach at 2/7/2005 5:52:44 AM
Hello,
I have a stupid qustion, but I am not able to find the correct way of
specifying an format-string which contains Right-to-Left strings...
Here is the string:
In english it should look like:
"Param1: {0}, Param2: {1}"
In hebrew it should look like:
"{1} :1maraP ,{0} :2maraP" (... more >>
Displaying Chinese Text in a RichTextBox Control
Posted by Ian Armitage at 2/4/2005 5:23:01 AM
Hi,
I am trying to display some chinese text in a RichTextBox but am having some
problems.
I open a .txt file which contains chinese text. I then convert the text
using the appropriate codepage and the .NET Encoding class and the string in
the debugger contains the correct chinese text. ... more >>
HtmlInputFile control in Japanese
Posted by pmelies at 2/3/2005 9:39:03 AM
Can I specify the text of the "Browse..." button generated by this control
(the html <input type="form"...> control)? It needs to be Japanese but I
don't know how to tell the user agent that renders this control to display
the "Browse..." text in Japanese. ... more >>
|