Skip to content

Autotranslator stops at the date; how to fix it with regular expressions #799

@ShadowNsss

Description

@ShadowNsss

Hello, I'm using the BepInEx IL2CPP autotranslator, and it works very well. The problem is that the game I want to translate uses a 24-hour date format, while my computer uses a 12-hour format, so it translates every second. How can I create a regular expression to prevent this? For example:

content inside the file _AutoGeneratedTranslations.txt

1:01 PM Monday=13:01 lunes
1:01 PM=13:01
1:02 PM Monday=13:02 lunes
1:02 PM=13:02
1:03 PM=13:03
1:03 PM Monday=13:03 lunes

Thanks in advance. I can't find a way to fix this because the plugin stops translating after 60 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions