[Owncloud] Setup another default language
Sandro Venezuela
sandro at linux2business.com.br
Mon May 14 16:08:53 UTC 2012
Hi Florian,
the change worked, but not exactly where you indicated.
First, without changing the code, I realized that ownCloud is in the
correct language when using the IE browser, but with Firefox or Chrome,
regardless of operating system, only works in English.
Looking at the function code findLanguage, I insert the return before
the check "if (isset ($ _SERVER ['HTTP_ACCEPT_LANGUAGE']))" and
apparently is working for me right now.
I'll be doing some more tests, but it would be really interesting if
this option was available to the user admin.
I appreciate your help.
Sandro
Em 2012-05-11 13:38, Florian Hülsmann escreveu:
> Hi, sorry, I must have misunderstood you :(
>
> Yes, you can set a default language in source code, open the file
> lib/l10n.php and look for "function findLanguage". In the last line
> there should be
>
> return "en";
>
> replace "en" with the language code you wish to have set by default
> (e.g. "fr" for french). Please report if it works. But I think we
> should not have this hardcoded but rather provide an option for the
> admin in the next release...
>
> Florian
>
> Am 11.05.2012 18:26, schrieb Sandro Venezuela:
>> Florian, but I would like to leave owncloud configured for this new
>> standard language, because my users don't know very well English.
>>
>> The way I found so far would be to change the code of the login
>> screen
>> and pre-configure users, but I don't think it's cool.
>>
>> There is no way set in the source code, or elsewhere, a default
>> language
>> other than English?
>>
>> Thank you
>>
>> Sandro
>>
>> Em 2012-05-11 11:06, Florian Hülsmann escreveu:
>>> Hi Sandro,
>>>
>>> welcome, we're glad you like ownCloud =)
>>>
>>> You can set the language under your personal settings, just click
>>> the
>>> gear icon in the bottom left corner!
>>>
>>> Hope this helps :)
>>>
>>> Florian
>>>
>>> Am 11.05.2012 15:33, schrieb Sandro Venezuela:
>>>> Hi all,
>>>>
>>>> this is my first post here on the list owncloud, by the way is one
>>>> of
>>>> the most interesting and cool projects that I'm using.
>>>>
>>>> I wonder if I can set default language other than English for
>>>> owncloud,
>>>> including the login screen?
>>>>
>>>> Thank you all.
>>>>
>>
--
Sandro Venezuela
Chief Technical Officer Linux
_____________________________________________
Linux2Business
Soluções em Software Livre e de Código Aberto
Rua Aracati, 488 - Santo André - SP
Fone: (11) 8485-1049
www.linux2business.com.br
_____________________________________________
More information about the Owncloud
mailing list