gnu-social/locale
Brion Vibber 3ac3bc32fc Some localization cleanup and doc to aid in customization:
* added locale/en/LC_MESSAGES/statusnet.po to make it easier to start customizing English texts
* added notes to locale/README about customizing and how to disable languages you haven't customized
* renamed PO templates from *.po to *.pot to match general conventions and reduce confusion for people trying to find which file they're supposed to edit
2010-04-05 13:19:16 -07:00
..
ar/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
arz/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
bg/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
br/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
ca/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
cs/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
de/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-08 22:48:27 +01:00
el/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
en/LC_MESSAGES Some localization cleanup and doc to aid in customization: 2010-04-05 13:19:16 -07:00
en_GB/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
es/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
fa/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
fi/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
fr/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
ga/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
he/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
hsb/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
ia/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
is/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
it/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
ja/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
ko/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
mk/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
nb/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-08 22:48:27 +01:00
nl/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
nn/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
pl/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
pt/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
pt_BR/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
ru/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
sv/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
te/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
tr/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
uk/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
vi/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
zh_CN/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
zh_TW/LC_MESSAGES Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-03-07 00:54:04 +01:00
Makefile
README Some localization cleanup and doc to aid in customization: 2010-04-05 13:19:16 -07:00
statusnet.pot Some localization cleanup and doc to aid in customization: 2010-04-05 13:19:16 -07:00

Localizations for StatusNet are being maintained through TranslateWiki:
http://translatewiki.net/wiki/Translating:StatusNet

Ongoing translation work should be done there to ensure updates are
integrated into future versions of StatusNet.


== Building runtime translations ==

If you are working with a direct git checkout or have customized any
message files, you will need to build binary .mo files from the .po
source files for translations to work in the web app.

If gettext and GNU make are installed, you can simply run 'make' in the
main StatusNet directory, and all core and plugin localizations will be
recompiled.


== Customization ==

User interface texts in any language can be customized by editing the
texts in the .po source files, then rebuilding the binary .mo files
used at runtime.

The default/US English texts can be overridden by adding "translations"
to en/LC_MESSAGES/statusnet.po.

Note that texts you change in one language will not affect other
languages, which are selected based on visitors' browser preferences.
If you customizations include important information or links,
you may wish to disable languages that you haven't customized so that
visitors always get your text.

To disable all non-English languages add this to your config.php (you
will need to edit both the en and en_GB files):

$config['site']['languages'] = array(
        'en-us'   => array('q' => 1, 'lang' => 'en', 'name' => 'English (US)', 'direction' => 'ltr'),
        'en-gb'   => array('q' => 1, 'lang' => 'en_GB', 'name' => 'English (British)', 'direction' => 'ltr'),
        'en'      => array('q' => 1, 'lang' => 'en',    'name' => 'English (US)', 'direction' => 'ltr'),
);


To disable everything including British English variant:

$config['site']['languages'] = array(
        'en'      => array('q' => 1, 'lang' => 'en',    'name' => 'English', 'direction' => 'ltr'),
);


== Plugins ==

This locale directory contains translations for the core StatusNet
software only. Plugins may have their own locale subdirectories and
their own .po and .mo files as well, so if customizing you may need
to poke at those as well.