?
Solved

How to create simple localization program in C?

Posted on 2010-08-18
5
Medium Priority
?
403 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 40

Assisted Solution

by:evilrix
evilrix earned 600 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 1400 total points
ID: 33472688
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
Suggested Courses

801 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