Brion Vibber 54c88cba57 Add a $config['plugins']['locale_path'] which can be set to override the individual plugins' locale subdirectories.
This will apply to *ALL* plugins in *ALL* languages, so should probably only be used when doing site customization...

You'd probably do:

  $config['site']['locale_path'] = '/srv/awesome/data/locale';
  $config['plugins']['locale_path'] = '/srv/awesome/data/locale';

with a structure like:
srv/
  awesome/
    data/
      locale/
        en/
          LC_MESSAGES/
            statusnet.po
            OpenID.po
            AnonymousFave.po

etc, all alongside each other. You could separate plugins from the core if you like.

Where locale files have not already been generated, you can build one for a plugin like so:

  php scripts/update_po_templates.php --plugin=MyPlugin

and pull out the template file:

  plugins/MyPlugin/locale/MyPlugin.pot

Edit that (make sure you at least set the CHARSET, probably to UTF-8) and save your customized .po
files into the structure as above, and use msgfmt to generate .mo files for final output.
2010-09-30 19:18:46 -07:00
..
2009-11-18 18:25:36 -08:00
2010-09-12 18:34:33 +02:00
2010-06-03 16:09:47 -07:00
2009-11-19 12:00:25 -05:00
2010-08-08 21:13:21 +02:00
2010-03-01 18:49:39 -05:00
2010-01-26 00:21:05 -05:00
2010-01-10 14:06:52 -08:00
2010-02-20 13:23:08 -05:00
2010-01-27 16:34:18 -05:00