Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite save text and add load text #815

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

k-aito
Copy link

@k-aito k-aito commented Jan 4, 2025

Hello, I couldn't understand or make work the actual save option. So I write one for my use.

Instead this one is very simple:

  • it save the translation and quit
  • If using load it look for the same name file + _translated.txt and load it as translation

There are surely more optimization that is possible, but it works enough for me.

I only tested the local mode, so I don't know if it's working for the others.

Regards

@zyddnys
Copy link
Owner

zyddnys commented Jan 5, 2025

why create this function?

@k-aito
Copy link
Author

k-aito commented Jan 5, 2025

Hello @zyddnys

I tried to use the first --save-text method with the docker, and it was writing a txt. But I didn't find a way to just replace the translation in the file and use my translation. Instead, it was going in a kind of postprocess mode from my understanding.

I just wanted to have these steps:

  • Output the translation
  • Load the translation that I would have changed manually

I do the first one with --save-text and the second with --load-text, maybe I just missed how to make it work with the original code?

Regards

@zyddnys
Copy link
Owner

zyddnys commented Jan 9, 2025

i will merge this, but if you want to do manual translation i would suggest using https://github.com/dmMaze/BallonsTranslator

@k-aito
Copy link
Author

k-aito commented Jan 9, 2025

Hello, thanks.

My idea was more like a "between the two". Like a fast translation with the possibility to overwrite some translations if when reading has no sense at all.

BallonsTranlator is maybe more like my idea to just have the XCF files so the cleaning and positions are already done, and we can still update them and modify properly?

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants