Click here to Skip to main content
16,005,236 members
Home / Discussions / C#
   

C#

 
GeneralRe: date time control Pin
Heath Stewart7-Jan-05 6:42
protectorHeath Stewart7-Jan-05 6:42 
GeneralRe: date time control Pin
Anonymous7-Jan-05 7:18
Anonymous7-Jan-05 7:18 
GeneralRe: date time control Pin
Heath Stewart7-Jan-05 7:33
protectorHeath Stewart7-Jan-05 7:33 
GeneralUdp. How to recieve. Pin
Umair Ahmad khan7-Jan-05 5:05
Umair Ahmad khan7-Jan-05 5:05 
GeneralRe: Udp. How to recieve. Pin
Heath Stewart7-Jan-05 6:34
protectorHeath Stewart7-Jan-05 6:34 
GeneralDoubts in Arabic Part of Work Pin
ChandruIT7-Jan-05 4:34
ChandruIT7-Jan-05 4:34 
GeneralRe: Doubts in Arabic Part of Work Pin
Nick Parker7-Jan-05 5:26
protectorNick Parker7-Jan-05 5:26 
GeneralRe: Doubts in Arabic Part of Work Pin
Member 967-Jan-05 8:51
Member 967-Jan-05 8:51 
You need to localize your app so that no text is entered directly onto the form.

You don't want to have to code more than one copy of the same form. If you are careful you need only make one form that is modified at run time to display the correct text.

We completely ignored the Microsoft localization techniques because they expect you to provide localized resource files with your app which for us won't work because we have users that may want to work in different languages in the same office and switch at will and we also wanted to make it very easy for our users to not only make their own language text but be able to modify the stock ones for their own business. I.E. if a field says "Date of employment" in english they might want to change that to "Date hired" or what have you. We figured that since we were going to localize we might as well make it even more useful for the users who often like to make these little changes if they can since terminology varies so much even across english speaking countries.

You may be able to use the more traditional methods referred to in that resource someone else pointed you to, however keep in mind they are static and not flexible.

What we did instead is we put keycode strings into the text properties for controls. For example on a customer form with a date field on it, instead of having a label with the text DATE in it, we put in "Customer.Label.Date". Then when the form is opened we have a static code that substitutes on the fly the correct string before displaying to the user.

All our language strings are stored in a database and loaded into memory when a user logs into our app so they can be displayed as required. No where in our source code are there any hard coded strings, simply keycodes instead.

In your database you must ensure that you are using all the unicode compliant versions of sql server table field definitions. I.E. use NVARCHAR instead of VARCHAR.
GeneralVS 2005's application/client settings Pin
Marlun7-Jan-05 3:24
Marlun7-Jan-05 3:24 
GeneralRe: VS 2005's application/client settings Pin
Heath Stewart7-Jan-05 6:31
protectorHeath Stewart7-Jan-05 6:31 
GeneralRe: VS 2005's application/client settings Pin
Marlun7-Jan-05 7:49
Marlun7-Jan-05 7:49 
GeneralRe: VS 2005's application/client settings Pin
Heath Stewart10-Jan-05 6:04
protectorHeath Stewart10-Jan-05 6:04 
GeneralRe: VS 2005's application/client settings Pin
Marlun10-Jan-05 7:31
Marlun10-Jan-05 7:31 
GeneralRe: Insert a line into the begining of the text file Pin
Anonymous7-Jan-05 1:33
Anonymous7-Jan-05 1:33 
GeneralRe: Insert a line into the begining of the text file Pin
Stefan Troschuetz7-Jan-05 1:45
Stefan Troschuetz7-Jan-05 1:45 
GeneralRe: Insert a line into the begining of the text file Pin
itssuk9-Jan-05 18:26
itssuk9-Jan-05 18:26 
GeneralRe: Insert a line into the begining of the text file Pin
Stefan Troschuetz9-Jan-05 21:41
Stefan Troschuetz9-Jan-05 21:41 
GeneralRe: Insert a line into the begining of the text file Pin
J4amieC7-Jan-05 2:18
J4amieC7-Jan-05 2:18 
QuestionHow to process the key events? Pin
bouli7-Jan-05 1:25
bouli7-Jan-05 1:25 
AnswerRe: How to process the key events? Pin
Nick Parker7-Jan-05 3:03
protectorNick Parker7-Jan-05 3:03 
GeneralRe: How to process the key events? Pin
bouli7-Jan-05 6:26
bouli7-Jan-05 6:26 
AnswerRe: How to process the key events? Pin
Heath Stewart7-Jan-05 6:28
protectorHeath Stewart7-Jan-05 6:28 
GeneralRe: How to process the key events? Pin
bouli7-Jan-05 6:35
bouli7-Jan-05 6:35 
Generalurgent ( about window services) Pin
Allah Kaa Bandaa7-Jan-05 0:47
Allah Kaa Bandaa7-Jan-05 0:47 
GeneralRe: urgent ( about window services) Pin
turbochimp7-Jan-05 3:05
turbochimp7-Jan-05 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.