[openbeos-preferences] Localization

I have tried to code so far avoiding hardcoded strings to reduce localization
problems for command line programs.

But then I realized that it localization could be solved simply.

Under the directory where the executable is kept, there is stored a directory
doc which contains a directory foreach langauage and then a file for the
exectuables usage and help text.

As such an application would have the logic :

   main()
     if arguments are invalid then
       get binary location
       output name.usage to standard out
     endif
   end

http://digital.yahoo.com.au - Yahoo! Digital How To
- Get the best out of your PC!

Other related posts: