Comment by a-dpq

2 years ago

When I localized my first iOS app (https://watchful.cam), I created some scripts to translate the strings with GPT-4. I also hired professional translators to proofread the translations, but I had to spend hours copying and pasting the strings back into Xcode.

I decided to create an end-to-end solution with a nice user interface, and the result is Local Hero (https://localhero.dev). You can import your strings from Xcode, translate them with GPT-4, and share links for others to edit your translations. For quality control, you can translate the translations back into the source language. When you've finalized your translations, you can easily import them back into Xcode.

The prompts sent to GPT-4 include the comments associated with your strings for context, and you can also provide additional instructions to ensure more accurate translations. For example, you can instruct the language model not to translate your app's brand name.

So far I haven't done much to promote it, and it might just remain mostly for my own use, but if you get a chance to try it out, let me know what you think!