summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-30 19:18:46 -0700
committerBrion Vibber <brion@pobox.com>2010-09-30 19:23:42 -0700
commitad7623a87fe5277706470c43fe357363891326c9 (patch)
tree2a8fb9f38b1f1dbf0ac368df49ab046418a08ce0 /actions/showstream.php
parent8b8450f9ad96c1ca267e5362457b0200429bf42b (diff)
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.
Diffstat (limited to 'actions/showstream.php')
0 files changed, 0 insertions, 0 deletions