• 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  [ 2 posts ] 
Author Message
 Post subject: smarty date - české názvy dnů
PostPosted: Fri Apr 26, 2013 12:38 pm 
Offline
Forum Members
Forum Members

Joined: Mon Nov 15, 2010 11:01 pm
Posts: 16
Mám nastavenou češtinu i české locale, ale názvy dnů ve smarty (|date_format:"%a") se zobrazují v angličtině.
Kde bude problém?
Nechce se mi zbytečně vytvářet nějaké pomocné pole s českým překladem.


\$1:
{cms_get_language}
{cms_lang_info assign='nls'}{$nls->locale()}

cs_CZ cs_CZ,cs_CZ.utf8,cs_CZ.utf-8,cs_CZ.UTF-8,czech,Czech_Czech Republic.1250


\$1:
{$event.event_date_start|date_format:"%a %d.%m. %H:%M"}

Fri 26.04. 19:00


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: smarty date - české názvy dnů
PostPosted: Fri May 31, 2013 8:35 am 
Offline
Forum Members
Forum Members

Joined: Mon Nov 15, 2010 11:01 pm
Posts: 16
Tak si odpovim sam.

Problem byl v tom, ze na serveru nebylo naistalovane ceske locale.

Po doinstalaci (viz. napr http://hexample.com/2012/02/05/fixing-l ... em-debian/) uz ceske nazvy dnu funguji.


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  [ 2 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:  
Hosting Nation - Managed CMSMS Hosting