This topic has 18 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #177700
     Cairy
    Participant

    Hi,

    if someone write an comment at my post the timestamp shows 1 Minute ago. If I transalte “ago” to “vor” it shows “1 Minuten” vor. How can I change the order that the timestamp shows “vor 1 Minute”?

    Regards

    #177784
     Laura
    Moderator

    Hello, using Loco Translate at the theme and buddypres you may find some strings like %1s or something like that, that is “minute” “hour” and so on, so just place vor before the %s codes 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #178314
     Cairy
    Participant

    Hi Laura,
    thanks for you reply.
    There isnt a string with the complete timestamps.
    There is a string ago and the string %s Minuten but because they arent in the same string, I cant change the order.
    Regards

    #178420
     Laura
    Moderator

    Hello, at the ago, leave an empty space at the translation, ant at the time, add “vor” before the %s

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #178838
     Cairy
    Participant

    Hi Laura, thanks again.
    tried this but it doenst work. I added “vor” in the buddypress loco lemplate, the only timestamp I could find, but that doesnt change it. All other timestamps are correct, just the order in the comment section are wrong.
    Regards

    #178957
     Laura
    Moderator

    Hello, please share access so i can check it 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #179199
     Cairy
    Participant
    This reply has been set as private.
    #179300
     Laura
    Moderator

    Hello, does it work now? i updated the language file, i see it correctly at the activity

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #179395
     Cairy
    Participant

    Hi Laura,
    the timestamp is only in the comment section wrong.
    For exapmle: https://www.dearmama.de/lesepfeil-tolle-lesehilfe-fuer-dein-kind/
    Regards

    Attachments:
    You must be logged in to view attached files.
    #179688
     Laura
    Moderator

    Hello, i deleted the ago, because i couldn’t add it before the time ( its wordpress language not buddypress related)

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #179691
     Cairy
    Participant

    Hi Laura,
    thanks but that isnt a good solution for me. There must be a way to change the order. In all other themes it is “vor xx Minuten” so it must be possible.
    Regards

    #179731
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #179821
     Radu
    Moderator
    This reply has been set as private.
    #179832
     Cairy
    Participant

    Hi Radu,
    thank you. I found the string before and the translation wasnt the problem.
    The order of the strings arent right. In german its “vor 12 Minuten” not as in english “12 Minutes ago”. The “vor” is before the minutes/hour/etc.
    Regards

    #180034
     Radu
    Moderator

    Hi,

    Just paste this code in wp-content/themes/kleo-child/functions.php

    NOTE : Child theme needs to be installed and activated.

    https://pastebin.com/raw/tqAQb39y

    If the translations no longer works for ago. press sync in loco

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #180040
     Cairy
    Participant

    Hi Radu, thanks a lot, it worked!
    I noticed one litte isssue. There is no space between vor and the time. Currently it looks like “vor2 Minuten”
    Regards!

    #180158
     Radu
    Moderator

    Just translate with an extra space so instead “vor” will be “vor ”

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #180213
     Cairy
    Participant

    Thanks again. I should have known that.
    Problem solved!

    #180381
     Radu
    Moderator

    You’re welcome

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 19 posts - 1 through 19 (of 19 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?