• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [fixed] No Serbian language in Admin area
PostPosted: Sat Aug 20, 2011 5:16 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Sun Apr 24, 2011 8:14 pm
Posts: 81
Location: Montenegro
Hi, I'm not sure if I should open a new topic for every problem I find (if I find them), so You could explain that in Rules.

And now on the issue at hand:

During the installation process I was able to select Serbian (sr_YU) and complete the process with no problems.

But, after that, in the Admin Panel, i could not select Serbian, either to be Front End or Admin default language. It wasn't listed in the combo boxes.

After I created nls file manually, everything was OK.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: No Serbian language in Admin area
PostPosted: Sat Aug 20, 2011 5:43 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8167
Location: Fernie British Columbia, Canada
Can you paste that nls.php file and I'll see about including it in the distribution. We normally don't create nls files for a language till it has alot of coverage (i.e: the system is mostly translated to that language and we have reasonable confidence that it will be kept up to date).

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: No Serbian language in Admin area
PostPosted: Sat Aug 20, 2011 8:49 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Sun Apr 24, 2011 8:14 pm
Posts: 81
Location: Montenegro
CMS MS - or at least it's core and most important modules - is mostly translated in Serbian (my opinion) and I'm confident that it will be kept up to date. I know that at least I and uniq3 are active on the project. Right now I'm correcting some mistakes and making changes to make it more clearer and descriptive. Soon I'll have more time, so, unless a truck hits me or aliens abduct me, I'll translate even more. :)

Here's the NLS file's content:
\$1:
<?php
#CMS - CMS Made Simple
#(c)2004 by Ted Kulp (wishy@users.sf.net)
#This project's homepage is: http://cmsmadesimple.sf.net
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

#NLS (National Language System) array.

#The basic idea and values was taken from then Horde Framework (http://horde.org)
#The original filename was horde/config/nls.php.
#The modifications to fit it for Gallery were made by Jens Tkotz
#(http://gallery.meanalto.com)

#Ideas from Gallery's implementation made to CMS by Ted Kulp

#Serbian Latinic
#Created by: CMS MS Serbian Translation Team
#Maintained by: Slavko Scekic <scekics@gmail.com>


#Native language name
#NOTE: Enocde me with HTML escape chars like &#231; or &ntilde; so I work on every page
$nls['language']['sr_YU'] = 'Srpski (latinica)';
$nls['englishlang']['sr_YU'] = 'Sebian (latinic)';

#Possible aliases for language
$nls['alias']['sr'] = 'sr_YU';
$nls['alias']['serbian'] = 'sr_YU' ;
$nls['alias']['srp'] = 'sr_YU' ;
$nls['alias']['sr_YU'] = 'sr_YU' ;
$nls['alias']['sr_LAT'] = 'sr_YU' ;


#Encoding of the language
$nls['encoding']['sr_YU'] = 'UTF-8';

#Location of the file(s)
$nls['file']['sr_YU'] = array(dirname(__FILE__).'/ext/sr_YU/admin.inc.php');

#Language setting for HTML area
# Only change this when translations exist in HTMLarea and plugin dirs
# (please send language files to HTMLarea development)

$nls['htmlarea']['sr_YU'] = 'sr';
?>


I'm not sure about all the aliases, but they don't do any harm...


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: No Serbian language in Admin area
PostPosted: Sun Aug 21, 2011 9:01 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7710
Location: The Netherlands
sr_YU file added by uniqu3, please confirm fixed

_________________
$1

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [fixed] No Serbian language in Admin area
PostPosted: Sun Aug 21, 2011 11:59 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Sun Apr 24, 2011 8:14 pm
Posts: 81
Location: Montenegro
Yeah, everything looks good in the SVN version. Not in the one that can be downloaded from the website, though (I don't know where the change should be visible).

Thanks, uniqu3!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting