Permalink
Browse files

Start adding l10n infrastructure.

Language files are in the `po` directory. The Makefile there can be used
to update them. New ones can be created by copying `App-Sqitch.po` and
adding the new language code to `PACKAGE`.

We set the locale in the scripts so that Text::LocaleDomain knows where what
language to use when Sqitch runs.
  • Loading branch information...
1 parent 6f4d9cf commit c3bbb6a14673b8af474e0ba552c84de6decbd223 @theory committed Aug 31, 2012
Showing with 2,598 additions and 0 deletions.
  1. +2 −0 bin/sqitch
  2. +828 −0 po/App-Sqitch.pot
  3. +94 −0 po/Makefile
  4. +16 −0 po/PACKAGE
  5. +828 −0 po/de.po
  6. +828 −0 po/fr.po
  7. +2 −0 t/sqitch
View
@@ -1,5 +1,7 @@
#!perl -w -CAS
+use POSIX qw (setlocale LC_MESSAGES);
+setlocale LC_MESSAGES, '';
use App::Sqitch;
exit App::Sqitch->go;
Oops, something went wrong.

0 comments on commit c3bbb6a

Please sign in to comment.