Solved

How to create simple localization program in C?

Posted on 2010-08-18
5
400 Views
Last Modified: 2012-05-10
How to get started with localization/internationalization  in C program?
i mean i want create simple localization/internationalization program in C.
0
Comment
Question by:umesh4exp
  • 2
5 Comments
 
LVL 40

Assisted Solution

by:evilrix
evilrix earned 150 total points
ID: 33472314
The language doesn't have any specific support for localisation so you will have to implement it yourself. The simplest way is to store your strings in text files, one for each language and load the correct file for the system you are running on. You will have to decide how you plan to identify the language of choice, either by setting your own config or using system calls to find the current locale settings.
0
 

Author Comment

by:umesh4exp
ID: 33472452
any website links or any books that help me to implement localization in C. I tried googling i couldn't find any helpful resource.
0
 
LVL 40

Expert Comment

by:evilrix
ID: 33472543
>> I tried googling i couldn't find any helpful resource.
Yeah, that's not really surprising, localisation is a bit of a black art and there are no great solutions. Often, it's better to use whatever localisation framework is implemented by your development tools. For example, if you were developing using Visual Studio you could use the localisation tools build into that.

What platform are you targeting and what development tools will you be using?
0
 
LVL 9

Accepted Solution

by:
masheik earned 350 total points
ID: 33472688
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SCANF - LIMIT THE NUMBER OF CHARARACTERS 1 66
Problem to show menu 5 93
How to access ANSI/IEEE Std 754 or equivalent information ? 3 73
C qsort compare function issue 6 18
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question