Re: Serbian tranlsation doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Jevos, Peter-2 wrote:
> 
>> 
>> 
>>> I tried to use Serbian translation with the newest SM, but it doesn't
>>> switch and stays default
>>>
>>> I checked all things in i18.php and according the suggestion in
>>> http://www.squirrelmail.org/wiki/TranslateGettext
>>>
>>> Any other help please ?
>>>
>>> I'm using Suse 10.1
>> 
>> Did you read and try things from
>> <http://squirrelmail.org/wiki/SupportingMultipleLanguages>?
>> 
>> Dear Fredrick
>> 
>> Thanks for your answer. I've rad this article but I didn't find
> anything
>> that can help me
>> 
>> All other languages are working ( included cyrillics, and so on ) but
>> when I switch to Serbian it stays default ( english )
>> 
> 
> Could you run command 'locale -a'  without single quotes and show its
> output.
> 
> Could you show listing of your SquirrelMail locale/sr_YU/LC_MESSAGES
> directory?
> 
> Thank you Tomas here is the output. Seems that there is problem
> 
> sr_CS
> sr_CS.utf8
> 
> But in SM it is sr_YU
> 
> How can I fix it ?
> 

Rename SquirrelMail locale/sr_YU directory to locale/sr

Edit SquirrelMail functions/i18n.php file, find
---
$languages['sr_YU']['NAME']    = 'Serbian';
$languages['sr_YU']['CHARSET'] = 'iso-8859-2';
$languages['sr_YU']['LOCALE']  =
array('sr_YU.ISO8859-2','sr_YU.ISO-8859-2','sr_YU');
$languages['sr']['ALIAS']      = 'sr_YU';
---

replace it with
---
/**
 * sr_YU - older glibc, sr_CS - OpenSUSE 10.1, sr_RS and sr_ME - OpenSUSE
10.3, Debian Lenny (glibc 2.7)
 */
$languages['sr']['NAME']    = 'Serbian';
$languages['sr']['CHARSET'] = 'iso-8859-2';
$languages['sr']['LOCALE']  =
array('sr_YU.ISO8859-2','sr_YU.ISO-8859-2','sr_YU','sr_CS','sr_RS','sr_ME','sr');
$languages['sr_YU']['ALIAS']      = 'sr';
---
-- 
View this message in context: http://www.nabble.com/Serbian-tranlsation-doesn%27t-work-tp25764475p25770449.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux