Hi all,

I'm trying to get a multi lingual site going.
Spanish is my default language.

$config['site']['language'] = 'es_ES.UTF-8';

This did not work as reported here:
http://lists.status.net/pipermail/statusnet-dev/2009-August/001996.html
But the solution mentioned will not provide me with 2 or more language
options.

So I've looked at lib/language.php


/**
 * Get a list of all languages that are enabled in the default config
 *
 * This should ONLY be called when setting up the default config in
common.php.
 * Any other attempt to get a list of languages should instead call
 * common_config('site','languages')
 *
 * @return array mapping of language codes to language info
 */
function get_all_languages() {
....

Does this mean I should create an entry in config.php with a list of
languages?
$config['site']['languages'] = 'es_ES.UTF-8, ca_ES.UTF-8';

or something similar (if so what would the syntax be?).

Or am I way off line here?

Thanks.
Chris.
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to