Re: localization with console application?



Hi Ian,

I want to develop a class library in C++ that provides non-GUI functionality.

Non-GUI is good, people waste a lot of time on GUI apps instead of separating the cross-platform standards-compliant back-end engine from the UI it will eventually be displayed in, preferably a W3C compliant web rendering surface that's runs on multiple platforms.

Error detection is implemented using exceptions and I would like the error messages to be supported in multiple languages.

There are a lot of options from Microsoft depending on the libraries you use with the app such as STL/MFC/ATL. I just had a look in the MSDN docs and if you search for either "internationalization" or "localization" you can get a lot of information (but most of it is for GUI apps). It's hard to comment further because there were so many options. One thing I have found works well with console apps is to stick to UNICODE, there are then functions that can adapt themselves (without recoding) to either UNICODE or ANSI just by changing a few #define's, you can use *.RC files for resources...

--
Gerry Hickman (London UK)
.



Relevant Pages

  • Re: Running an application more than once
    ... can for example choose to combine them to single display, or run multiple ... I generally want several instances of certain apps running ... The feature being asked for is to have logical "workspaces" inside ... but those windows can further be arranged into groups. ...
    (comp.sys.mac.system)
  • Re: Taking a single large .cs file and making many smaller .cs fil
    ... If this were true why have any indirection at all, ... Oriented even if written in an OO language, functionality and code is ... "Adding a layer of indirection always creates more ... if there are multiple files then it's harder to keep ...
    (microsoft.public.dotnet.languages.csharp)
  • Using a common base DLL between programs
    ... multiple programs... ... All APPs are compiled 32bit with the run-time library option set to ... previously) and a normal DLL instead of an EXE, ... I've tried the multiple base APP but somewhere along the ...
    (comp.lang.clarion)
  • Re: Application Pools
    ... I tend to go with sticking multiple apps ... into a single Application Pool to minimize resource usage as each pool needs ... essentially IIS worker process EXE instances with their own security ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Linux is Free....So what? Is your Time Free?
    ... Does it require functionality _only_ found in them, ... _capability_ which could be provided by any of several applications. ... do their open source alternatives. ... What I said is that open source apps are far ...
    (comp.sys.mac.advocacy)

Quantcast