Hi,

> There are three other languages that also could be fixed like this.
> el, fi, and pt

I created a ticket for fi a while ago, see
http://status.net/trac/ticket/1768. Maybe we'll add the el, pt and es
in there also.

Best Regards, Jaakko

On Mon, Oct 5, 2009 at 3:03 PM, Chris Fanning
<[email protected]> wrote:
>
>
> On Mon, Oct 5, 2009 at 11:05 AM, Chris Fanning 
> <[email protected]> wrote:
>>
>> 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
>
> Well, I'm not sure if this is a solution you guys would like or not but.. I 
> change the line
> 'es'      => array('q' => 1, 'lang' => 'es',    'name' => 'Spanish', 
> 'direction' => 'ltr'),
> for this..
> 'es'      => array('q' => 1, 'lang' => 'es_ES',    'name' => 'Spanish', 
> 'direction' => 'ltr'),
>
> There are three other languages that also could be fixed like this.
> el, fi, and pt
>
> Cheers.
> Chris.
>
>
>>
>> /**
>>  * 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
> [email protected]
> http://lists.status.net/mailman/listinfo/statusnet-dev



--
Jaakko
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to