-
AuthorPosts
-
November 26, 2008 at 6:39 pm #135729
Hi,
I have problem with my working page (http://www.racman.info/sovice.si/) with date language in mod_janews. I have everything translated but date is not translated. Can someone tell me the “fix” for this.
Thanks in advance.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 28, 2008 at 4:38 am #280586Dear racman,
Please open file blog_item.php in templates/ja_uvite/html/mod_janews folder, at about line 13, find following script:[PHP]$dateformat = $tmpTools->getParam(‘janews-dateformat’, ‘d M Y’);[/PHP]
here you can change date format to your request.
Hope it helps.
November 28, 2008 at 5:07 pm #280658Hi,
thanks for reply. I found that script before asking, but I have a problem with local language of date.
If you can check my link in previous post there is english date…. monday, 17. november 2008… but I would like to be changed in my language (slovenian) in…. ponedeljek, 17. november 2008. I have installed slovenian language but date is still in english.
Date in content is fine… in slovenian… http://www.racman.info/sovice.si/index.php?option=com_content&view=article&id=20&Itemid=77
Thanks for help,
racmanredserp Friendredserp
- Join date:
- May 2009
- Posts:
- 51
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 24
- Thanked:
- 7 times in 1 posts
June 1, 2009 at 9:44 pm #306455I had the same problem. Its an automatic created date so… The only way i solved the problem was choosing not to see this date in the module options on admin backend.
GreetsAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 2, 2009 at 7:43 am #306491Hi racman,
You have to change in your language file.
For example: with english language, you open languageen-GBen-GB.ini file, find following code:# Date format
DATE_FORMAT_LC=%A, %d %B %Y
DATE_FORMAT_LC1=%A, %d %B %Y
DATE_FORMAT_LC2=%A, %d %B %Y %H:%M
DATE_FORMAT_LC3=%d %B %Y
DATE_FORMAT_LC4=%d.%m.%y
DATE_FORMAT_JS1=y-m-d
%Y-%M-%D=%Y-%M-%D
%A, %B %E=%A, %B %e# Months
JANUARY_SHORT=Jan
JANUARY=January
FEBRUARY_SHORT=Feb
FEBRUARY=February
MARCH_SHORT=Mar
MARCH=March
APRIL_SHORT=Apr
APRIL=April
MAY_SHORT=May
MAY=May
JUNE_SHORT=Jun
JUNE=June
JULY_SHORT=Jul
JULY=July
AUGUST_SHORT=Aug
AUGUST=August
SEPTEMBER_SHORT=Sep
SEPTEMBER=September
OCTOBER_SHORT=Oct
OCTOBER=October
NOVEMBER_SHORT=Nov
NOVEMBER=November
DECEMBER_SHORT=Dec
DECEMBER=December#Days of the Week
SAT=Sat
SATURDAY=Saturday
SUN=Sun
SUNDAY=Sunday
MON=Mon
MONDAY=Monday
TUE=Tue
TUESDAY=Tuesday
WED=Wed
WEDNESDAY=Wednesday
THU=Thu
THURSDAY=Thursday
FRI=Fri
FRIDAY=Friday
#Other Calendar
(TODAY)= (Today)
(SHIFT-)CLICK OR DRAG TO CHANGE VALUE=(Shift-)Click or Drag to change the value.
ABOUT THE CALENDAR=About the Calendar
DISPLAY %S FIRST=Display %s first
DRAG TO MOVE=Drag to move
GO TODAY=Go to today
NEXT MONTH (HOLD FOR MENU)=Click to move to the next month. Click and hold for a list of the months.
NEXT YEAR (HOLD FOR MENU)=Click to move to the next year. Click and hold for a list of years.
PREV. MONTH (HOLD FOR MENU)=Click to move to the previous month. Click and hold for a list of the months.
PREV. YEAR (HOLD FOR MENU)=Click to move to the previous year. Click and hold for a list of years.
SELECT DATE=Select a date
TIME=Time
TIME:=Time:
CLOSE=Close
TODAY=Today
WK=wkYou can apply this text in your language file
2 users say Thank You to JA Developer for this useful post
noahus Friendnoahus
- Join date:
- May 2009
- Posts:
- 6
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
June 3, 2009 at 2:31 pm #306681Hi JA…
Nice stuff you make… But I have an additional date-language problem, with the “ja_teline_ii” template.
In the very top of every page, there are a date and a search-field… that date is displayed in English, no matter what I do.
I even went as far as to input my local date-translations into the standard “en-GB.ini” file… which tells me, that this “top-date” must be hard-coded somewhere in the system.
Can you point me in the right direction, for localizing this?.
Thanks in advance…
-
AuthorPosts
This topic contains 8 replies, has 4 voices, and was last updated by Anonymous 15 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum