Solved

How to create simple localization program in C?

Posted on 2010-08-18
5
402 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 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

Industry Leaders: 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

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
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…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

717 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