Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos-preferences] || [Date Prev] [08-2002 Date Index] [Date Next] || [Thread Prev] [08-2002 Thread Index] [Thread Next]

[openbeos-preferences] Localization

  • From: Mat Hounsell <mat_geek@xxxxxxxxxxxx>
  • To: openbeos-preferences@xxxxxxxxxxxxx
  • Date: Tue, 13 Aug 2002 18:41:44 +1000 (EST)
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!





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.