Solved

How to create simple localization program in C?

Posted on 2010-08-18
5
396 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
Comment Utility
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
Comment Utility
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
Comment Utility
>> 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
Comment Utility
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now