Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
February
S M T W T F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29
Sponsored Links
Latest Postings
Topic Options
Rate This Topic
#17790 - 08/01/02 04:14 PM Resource Files
Joined: Mar 2002
Posts: 257
psychogen Offline
Member
psychogen Offline
Member

Joined: Mar 2002
Posts: 257
UK
Hey,

I was wondering if anyone here has ever written Dynamic Link Libraries that will change the applications language.

What I am refering to is that I want to add multiple language settings to the Apps I write, especially one which is a new project for work and I need support for 2 languages atleast.

I have read a internationalisation article on msdn a couple of years back but I cant find it.

But I was also thinking of writing my own resource type of files, or settings files if u rather, such as *.ols (OfficeChat Language Settings). The files would be plain text but I doubt that I can be bothered to deal with that to much.

If anyone has written one before or has seen a sample code that will perform the job thouroughly then I would appreciate any feedback.

I can think of the basics behind it no problem just wondering if someone has already done this in order to cut my dev time on this.


The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean, "Someone who loves to program and enjoys being clever about it."
--------------------
"Its not a bug, its a feature" (Epic Games)
Top
Sponsored Links
#17791 - 08/01/02 04:19 PM Re: Resource Files
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
I have created resource files for text strings. While I did not use this for language flexibility, I read all about how it can be used for that. It's very simple really once you have the text tables complete.

As for creating dll's... I have made VB ActiveX dll's before (they're the only kind you can make with VB). As for accessing a resource file from an application that's stored in a dll... that I've never done before. But I can learn if need be.

How would you like me to help you?


Domain Registration, Hosting, Management
http://www.dollardns.net
Top
#17792 - 08/01/02 04:22 PM Re: Resource Files
Joined: Mar 2002
Posts: 257
psychogen Offline
Member
psychogen Offline
Member

Joined: Mar 2002
Posts: 257
UK
Damn your fast!!!

I dont quite understand what you mean by the text tables?


The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean, "Someone who loves to program and enjoys being clever about it."
--------------------
"Its not a bug, its a feature" (Epic Games)
Top
#17793 - 08/01/02 04:40 PM Re: Resource Files
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
it's luck. I just happened to check right after you did. Well, text tables. You have a grid of words. You can access a particular record or column or something and choose the language number you're using and extract the proper word.


Domain Registration, Hosting, Management
http://www.dollardns.net
Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics43,832
Posts79,006
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 36,995
Gremelin 7,194
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
0 registered members (), 1 guest and 0 spiders.
Latest News