Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I looked more closely into how Ren'Py handles the FileTime time stamps - try changing the get_timestamp function in the backend as follows:

def get_timestamp(self, format=_("%b %d, %Y @ %I:%M %p{#achievement_timestamp}")):
    """
    Return the timestamp when this achievement was granted,
    using the provided string format.
    """
    if self.has():
        format = renpy.translation.translate_string(format)
        return _strftime(format, self._timestamp)
    else:
        return ""

And let me know if that works! 

Thank you for the fast reply! Unfortunately nothing changed :c the code doesn't throw any mistakes, the timestamp is just still in English.

upd: I found a workaround by using the second, get_timestamp method and by just redacting stuff in quotes lol, that's good enough for me. I should've done that from the start, sorry for the trouble 😞

But yeah, if you work with translated Renpy and use text a.timestamp when showing a timestamp it still wil be in English.