Page 2 of 2

Re: Ren'Py Translator ToolKit

Posted: Sun May 24, 2020 10:01 am
by Beuc
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!

Re: Ren'Py Translator ToolKit

Posted: Sat May 30, 2020 6:47 am
by Beuc
I went ahead and released the fix as v1.4.
https://renpy.beuc.net/download/renpy-ttk-latest.zip

Re: Ren'Py Translator ToolKit

Posted: Thu Jun 25, 2020 12:28 pm
by OrsonDeWitt
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

Re: Ren'Py Translator ToolKit

Posted: Thu Jun 25, 2020 12:45 pm
by Beuc
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.

Re: Ren'Py Translator ToolKit

Posted: Sat Jun 27, 2020 6:47 am
by OrsonDeWitt
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?

Re: Ren'Py Translator ToolKit

Posted: Sat Jun 27, 2020 7:45 am
by Beuc
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 :)

Re: Ren'Py Translator ToolKit

Posted: Sun Jun 28, 2020 4:52 pm
by OrsonDeWitt
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.

Re: Ren'Py Translator ToolKit

Posted: Fri Jul 10, 2020 8:22 am
by Beuc
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?

Re: Ren'Py Translator ToolKit

Posted: Sat Jul 25, 2020 12:29 pm
by Beuc
I released v1.5!

- Embed .po->.mo converter
- Fix start-up error when using fresh Ren'Py and/or unconfigured projects list
- Don't mark 'nvl clear' blocks as OBSOLETE

https://renpy.beuc.net/download/renpy-ttk-latest.zip