This is a simple Perl Locale::gettext() sample program README,
I wrote this for making it easy to start using the module.

- make sure you have once issued the appropriate
  localedef command for each locale used in that
  system that you plan using

  (this needs unfortunately to be done with root privileges)

  # localedef -f ISO-8859-1 -i de_DE de_DE	       (deutsch german)
  # localedef -f ISO-8859-15 -i de_DE de_DE@euro       (deutsch german w/ euro)

  # localedef -f ISO-8859-1 -i fi_FI fi_FI	       (finnish finland)
  # localedef -f ISO-8859-1 -i sv_FI sv_FI	       (swedish finland)
  # localedef -f ISO-8859-15 -i fi_FI@euro fi_FI@euro  (finnish finland w/ euro)
  # localedef -f ISO-8859-15 -i sv_FI@euro sv_FI@euro  (swedish finland w/ euro)

  # localedef -f ISO-8858-1 -i sv_SE 		       (swedish sweden)

  and so on whatever you need. 

  You can find the available locales from /usr/share/i18n/locales

- then try running

  $ LC_MESSAGES=deutsch ./sample

  and

  $ LC_MESSAGES=finnish ./sample

- study the sample perl script and the files under locale
  directory.

- you should be able to use "xgettext -L C perl-program"
  to create a template for your translation, try 

  $ xgettext -L C sample

  and study the messages.po file created.

HTH,

:-) riku

-- 
	[ this .signature intentionally left blank ]
