Hello,

Where can I change the following :

-->Poll created by Test Admin 4 days ago.

German language:
-->Abstimmung erstellt von Test Admin 4 days ago.

4 days ago should also be in German


Thanks in advance for your feedback.

Markus

15220_1_poll_date.jpg (You do not have access to download this file.)
Like it on Facebook, Tweet it or share this topic on other bookmarking websites.
  • Re: German - Date Time indication

    by » 6 years ago


    The date strings are available in administrator/languages/en-GB/en-GB.com_cjlib.sys.ini


    Follow me on twitter: https://twitter.com/corejoomla
    If you use our extensions, please post a rating and a review at the Joomla! Extensions Directory.
    SurveysCjForum | Polls | Answers | Quizzes | Quotes | GPS Tools | Sociable


  • Re: German - Date Time indication

    by » 6 years ago


    Great, thank you!

    but how do I change still following :

    Example:
    Abstimmung erstellt von Test Admin 4 Tagen vor.

    should look like this:
    Abstimmung erstellt von Test Admin vor 4 Tagen.

    4 days ago - ago 4 days

    Thanks in advance for your feedback.

    Markus


  • Re: German - Date Time indication

    by » 6 years ago


    In the ini-file you can find many date entries:

     

    COM_CJLIB_DATE_ONE_MINUTE="one minute %1$s"
    COM_CJLIB_DATE_N_MINUTES="%1$s minutes %2$s"
    COM_CJLIB_DATE_ONE_HOUR="one hour %1$s"
    COM_CJLIB_DATE_N_HOURS="%1$s hours %2$s"
    COM_CJLIB_DATE_N_DAYS="%1$s days %2$s"
    COM_CJLIB_DATE_ONE_WEEK="one week %1$s"
    COM_CJLIB_DATE_N_WEEKS="%1$s weeks %2$s"
    COM_CJLIB_DATE_ONE_MONTH="one month %1$s"
    COM_CJLIB_DATE_N_MONTHS="%1$s months %2$s"
    COM_CJLIB_DATE_ONE_YEAR="one year %1$s"
    COM_CJLIB_DATE_N_YEARS="%1$s years %2$s"

     

    If you want it in german, you have to make some changes: X minutes ago -> vor X Minuten

    Check this entry:

    COM_CJLIB_DATE_ONE_MINUTE="one minute %1$s"

    %1$s = represents: ago

     

    I think you can change it to: COM_CJLIB_DATE_ONE_MINUTE="%1$s einer Minute"

     

    And of course define this suffix:

    COM_CJLIB_DATE_SUFFIX_AGO="ago"

    to

    COM_CJLIB_DATE_SUFFIX_AGO="vor"

     

     

     


    Thank you said by: Maverick

  • Re: German - Date Time indication

    by » 6 years ago


    However I suggest you to duplicate this file to your language file (de-DE.com_cjlib.sys.ini) if you are using multilingual site. Do not change the strings directly in English language file which will be overwritten when you update the component.


    Follow me on twitter: https://twitter.com/corejoomla
    If you use our extensions, please post a rating and a review at the Joomla! Extensions Directory.
    SurveysCjForum | Polls | Answers | Quizzes | Quotes | GPS Tools | Sociable


    Thank you said by: Andreas

  • Re: German - Date Time indication

    by » 6 years ago


    hey people ,

    thanks for the quick help.

    ----------------------------------------

    He leute,

    besten dank für die schnelle Hilfe.
    Wahnsinn - und das am Sonntag ;-)


You do not have permissions to reply to this topic.
Powered by CjForum