Ren'Py Translator ToolKit

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
Beuc
Regular
Posts: 73
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py Translator ToolKit

#16 Post by Beuc » Sun May 24, 2020 10:01 am

Thanks for letting me know!
I didn't know about say arguments, this is quite tricky.

I believe I just fixed it in the development version of renpy-ttk: https://www.beuc.net/renpy-ttk/zip/trunk/download.zip
Let me know if this works for you!

User avatar
Beuc
Regular
Posts: 73
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py Translator ToolKit

#17 Post by Beuc » Sat May 30, 2020 6:47 am

I went ahead and released the fix as v1.4.
https://renpy.beuc.net/download/renpy-ttk-latest.zip

OrsonDeWitt
Newbie
Posts: 15
Joined: Thu Dec 06, 2018 3:23 am
Contact:

Re: Ren'Py Translator ToolKit

#18 Post by OrsonDeWitt » Thu Jun 25, 2020 12:28 pm

So I ran the tool and it created a folder "pot" in my game\tl directory which I cannot delete now for it says I need administrator rights to do so. It only contains one .rpy file

User avatar
Beuc
Regular
Posts: 73
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py Translator ToolKit

#19 Post by Beuc » Thu Jun 25, 2020 12:45 pm

The tool creates the temporary "pot" work folder to gather the lines, and then removes it.
I'm not sure what happened here, maybe just re-run it.
Or run explorer as Administrator and remove the folder.

OrsonDeWitt
Newbie
Posts: 15
Joined: Thu Dec 06, 2018 3:23 am
Contact:

Re: Ren'Py Translator ToolKit

#20 Post by OrsonDeWitt » Sat Jun 27, 2020 6:47 am

Hey, it seems to be working now. It's great! From what I understood it can even find the strings that have changed and update them, which renpy doesn't unless you delete the tile with the changes. Is that right?
Also, I've tried importing this .Po file into memoq, but it didn't allow me to export it as .mo. Is there no way to use this with memoq other than save .po through memoq, open with poedit and export as .mo?

User avatar
Beuc
Regular
Posts: 73
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py Translator ToolKit

#21 Post by Beuc » Sat Jun 27, 2020 7:45 am

Hi!

Yes the #1 feature is working progressively on an evolving game text.
Technically, when a line changes in Ren'Py, this drops the previous string and creates a new string in .po, and if they are similar, your PO tool will reuse the previous translation and mark it as "fuzzy" for you to check.
(the old string will be marked "OBSOLETE" in the tl/.rpy file if you want to clean-up but you don't have to.)


Currently renpy-ttk requires a .mo, or that the "msgfmt" tool is installed in your system (works on GNU/Linux and probably Mac, but not in stock Windows).
Looking again, I see that there's alternate tooling that could work from Ren'Py and do the .po->.mo conversion for you. I need to test, I'm adding that to my TODO list :)

OrsonDeWitt
Newbie
Posts: 15
Joined: Thu Dec 06, 2018 3:23 am
Contact:

Re: Ren'Py Translator ToolKit

#22 Post by OrsonDeWitt » Sun Jun 28, 2020 4:52 pm

Beuc wrote:
Sat Jun 27, 2020 7:45 am
Hi!
Thanks for your reply. Nice to hear you're working on it and that there's ways to improve! Eliminating the step of going through poedit would greatly improve quality of life for us, though the tool itself is already a godsend.

User avatar
Beuc
Regular
Posts: 73
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py Translator ToolKit

#23 Post by Beuc » Fri Jul 10, 2020 8:22 am

Hi,

Embedding a working .po->.mo converter was more involving than I thought but it's now done!

Would you mind testing the development version at:
https://www.beuc.net/renpy-ttk/zip/trunk/download.zip
give it a PO file and check if things work fine for you?

Post Reply

Who is online

Users browsing this forum: No registered users