Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 4:02 pm (All times are UTC )

 





Post new topic Reply to topic  [ 6 posts ] 
Author Message
Posted: Sat Sep 23, 2006 6:14 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Sep 23, 2006 6:08 pm
Posts: 1
all the component is in turkish except dates.... in lang file they are in turkish too...



vers: ExtCalendar_Component_v0.9.1
Image


Top
  E-mail  
 
Posted: Thu Oct 26, 2006 8:31 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Sep 06, 2005 10:53 pm
Posts: 118
When you say dates - you mean the month names?
I believe that those are actually not pulled from the language file, but based on the locale setting in the language file..and as it depends on your server system the locales setting in your language file may not be correct. (or no turkish locale installed)

Btw, have you done a new translation? or are you using an existing one?


Top
  E-mail  
 
Posted: Wed Nov 01, 2006 1:37 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Oct 31, 2006 3:32 pm
Posts: 1
I have the same problem, but with Dutch translation. Joomla 1.0.11 and ExtCal 0.9.2. But it's not only in ExtCal. It's also with items posted on the frontpage, the dates under news items are in english too.

So could it be Joomla is still using some english stuff even though the languages are different?

Edit:
Found a solution! Go to your global config, click locale and in the bottom field it probably still says: "en_GB". I changed this to "nl_NL" and it worked! everything is in Dutch now :)


Last edited by Flowmo on Wed Nov 01, 2006 1:43 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Thu Dec 07, 2006 3:04 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Sep 07, 2006 4:51 pm
Posts: 15
Location: Tegucigalpa, Honduras
I have my Joomla 1.0.11 (spanish edition) with the locale "es_ES" but still the dates and month appear in English. I guess it is the database setting...any help?  :(


Top
  E-mail  
 
Posted: Fri Dec 08, 2006 8:24 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4490
Location: Toronto, Canada
I learned something new about how PHP handles dates...

There are different functions that can be used to display dates.  One that is commonly used is date().  date() will output a date in a specified format.  But it does not respect the locale setting.  This means that month names will not be translated.

On the php.net reference page for the date function, we find:
To format dates in other languages, you should use the setlocale() and strftime()  functions instead of date().

The issue is with Joomla! and with the Extcalendar code.  I hadn't realized this difference until now!

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Mon Dec 18, 2006 9:20 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Sep 06, 2005 10:53 pm
Posts: 118
i have just dowloaded the spanish language file. switched the site language and voila - Extcal month are in Spanish...

Otto


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 8 guests


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

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group