Skip to content

xcstrings translator is a simple tool to translate .xcstrings files, using Apple's Translate framework.

License

Notifications You must be signed in to change notification settings

0xWDG/xcstrings-translator

Repository files navigation

xcstrings translator

xcstrings translator is a simple tool to translate .xcstrings files, using Apple's Translate framework. The tool is written in Swift and uses the Apple's Translate framework to translate the .xcstrings files.

Limitations/TODO

  • Translate in all supported languages with one button.
  • Skip string if it's already translated.
  • Skip strings marked with shouldTranslate: false.

Finished

  • Input language detection.
  • Translate to a specific language.
  • Save translated strings to the input file.
  • Save translated strings to a new file. (only if test mode is enabled)

Screenshots

image
xcstrings-translator.mov

Alternatives

I'm not planning to add support for Google Translate, DeepL, Microsoft Translator or any other (AI) translation service, If you think it should be added, feel welcome to create a pull request.

Alternatives to this tool are (but not limited to):

  • TranslateKit by Cihat Gündüz, TranslateKit uses DeepL, Google Translate and Microsoft Translator, it relies on in-app subscriptions.

Special Thanks

Special thanks to these wonderful people:

Frameworks/Packages used

Here are the frameworks/packages used in this project:

Contact

🦋 @0xWDG 🐘 mastodon.social/@0xWDG 🐦 @0xWDG 🧵 @0xWDG 🌐 wesleydegroot.nl 🤖 Discord

Interested learning more about Swift? Check out my blog.

About

xcstrings translator is a simple tool to translate .xcstrings files, using Apple's Translate framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project