test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • racman Friend
    #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 Moderator
    #280586

    Dear 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.

    racman Friend
    #280658

    Hi,

    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,
    racman

    redserp Friend
    #306455

    I 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.
    Greets

    Anonymous Moderator
    #306491

    Hi 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=wk

    You can apply this text in your language file

    noahus Friend
    #306681

    Hi 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…

    noahus Friend
    #306742

    This is solved 😉

    Anonymous Moderator
    #306864

    Hi noahus

    Could i close this thread?

Viewing 8 posts - 1 through 8 (of 8 total)

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