-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add support for fastlane metadata or other text files #12
Comments
Hi! Thanks for creating this tool I've tried it out a bit and think it's really good and just what I'm looking for. I've started to try and add support for translating text files, I would like it to support translating my fastlane metadata files. I just got "something" working, and as the gpt3 model didn't do a very good job I also added (hacked) support for gpt4 which did a much better job. My work-in-progress is here https://github.com/jonkan/swift-translate/tree/support-text-files-and-gpt4 What I got so far is this idea of a JSON Specification file, e.g.
and have
output translations at:
I'm a little short on time atm but I thought I'd reach out and let you know. Cheers, |
Hi @jonkan! Glad you found the tool useful. For fastlane metadata, my original idea was it would just be an argument But, I do like the idea of a more explicit configuration scheme. Possibly a Thanks for adding GPT-4 support! Looks like that was a pretty easy lift. If you want to separate out a PR for just that it would be helpful! |
I decided to go the specification route because:
I choose JSON just because it's easy to decode, with Codable. YAML would probably be a better format. I have very limited experience of i though. But yes, my initial attempt is too verbose. I would like to have a languages variable to put in the paths to fix that. What are your thoughts on this, what would you like to see for a PR? Sure, I'll try to put together a PR with gpt-4 support soon. |
No description provided.
The text was updated successfully, but these errors were encountered: