Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Multiple Errors With The Date Format In Spanish Lang. 
 
Hi everybody!

I founded this error on chat, time ago, and now I can see it again. It is viewed on viewtopic.php and viewforum.php, when a topic has a calendar date. Under the topic title, there is a string that tells: From (date1) to (date2) (included).

The thing is that if you have the spanish language pack installed, the string showed is:

From to (included)

(but written in spanish). The problem is the f*** date format. I do not know why someone had the idea to create date's strings to translate time marks into human dates, when PHP includes all this stuff needed for this purpose. Only setting the Locale, all the Months, days of the week, times, everything should be translated automatic without making people type useless code.

As I told at the beginning, chat (not shoutbox), does not show the date at the left margin of shouts, if you are using spanish language.
The problem is that the lang_main_settings.php of spanish language does not have all the vars. In this case, the 'DATE_FORMAT_CALENDAR' $lang array position was not defined on lang_spanish, so I had to create it for fix this problem.

This are all not defined array positions:

$lang['Extra_Meta'] = '';
$lang['DATE_FORMAT_CHAT'] = 'Y/m/d - H.i.s';
$lang['DATE_FORMAT_DATE_JQUI_PHP'] = 'Y/m/d';
$lang['DATE_FORMAT_TIME_JQUI_PHP'] = 'H.i';
$lang['DATE_FORMAT_DATE_MYSQL_PHP'] = 'ymd';
and of course
$lang['DATE_FORMAT_CALENDAR'] = 'd F Y';

they can be copied to the spanish lang_main_settings.php directly because translated are the same.

I think this should be reported and fixed.
 



 
jefazo666Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: [SOLVED] Multiple Errors With The Date Format In Spanish Lang. 
 
We need the Spanish mantainers to fix this.

Spydie, KuKa... can you please fix?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Multiple Errors With The Date Format In Spanish Lang. 
 
I´ll look into it tomorow
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Multiple Errors With The Date Format In Spanish Lang. 
 
I suggest to remove the strings for dates at languages, and let the PHP core functions do it. It will solve a lot of problems.
 



 
jefazo666Send private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron