Results 1 to 4 of 4

Thread: change date parse to specific language

  1. #1
    User zlobec's Avatar
    Join Date
    02-14-14.
    Posts
    34

    Default change date parse to specific language

    Hey,

    I need help changing this:
    Code:
    $this->parseDate("j. F Y\, l",strtotime($this->date))
    not to output in English but in another specific language. Is there any built-in function or do I have to code my own function?

    Thanks for help.

    Edit:
    found language translations in
    system/modules/backend/languages/*

    *- for specific language

    Last edited by zlobec; 02/19/2014 at 22:00.

  2. #2
    User zlobec's Avatar
    Join Date
    02-14-14.
    Posts
    34

    Default

    Ok, found out that there is no translations for my language for parsedate.... Where can I find the files to translate dates and days, and months...??

  3. #3
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    What translations do you need? Contao 3 already comes with a lot of languages.
    Contao Community Moderator
    → Support options

  4. #4
    User zlobec's Avatar
    Join Date
    02-14-14.
    Posts
    34

    Default

    xchs:
    I was looking for slovenian translations.

    The problem was, that the words are capitalized, and should not be... But now i've found the files where I can change it my own translations.

    Thanks for help.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •