Error code and regional setting

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello,

In an application, I'd like to manage the error in my application.

Exemple :
1 : Operation successful
2 : Error during update
3 : The data XXX is manfatory

These errors messages have to be translated in several languages

Wich solution is there to manage these codes ? An array ? An array by
language ?

thanks,


.



Relevant Pages

  • Re: why cannot assign to function call
    ... hypothetical C-like languages, ... sizeof business would still indicate that a pointer was being passed. ... talk about variables of an array type. ... the earlier version of the standard didn't have numbered ...
    (comp.lang.python)
  • Re: should every thing be zero indexed?
    ... Other families of languages count from 1. ... of languages inherited the tendency to count from 0 because of C array ... around a central data point you can define the array indices to precisely ... integer elements. ...
    (comp.programming)
  • Re: Readable code and refactoring for optimization
    ... "The common advice to developers in most languages is to write first for ... I'm not saying that one should never change an algorithm during optimization. ... The thing to keep in mind is the loop will execute exactly n times assuming no LEAVEs are invoked, even though the index i will never reach n: i will step from 0 to n-1, which is useful for a zero-based array. ...
    (comp.lang.forth)
  • Re: arrays vs. vectors
    ... In Scheme it's called the ... in many other languages it's called an array, ... > When a language exists that has an array type and a vector type (e.g. ...
    (comp.lang.scheme)
  • Re: [PHP] Multi lingual pages
    ... W3 org about localization / internationalization, ... message here about supporting multiple languages. ... from 'per lang' files I would suggest using an array as the ...
    (php.general)