Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.57 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.57 KB

💬 nstack-localizations-generator

(Formerly nstack-translations-manager)

No more string keys, strongly typed translations are the way!

A tool to generate localizations from NStack API.

GitHub license Plaform

📦 How does it work

TODO: Elaborate

Since Swift frameworks unfortunately can't be used inside other frameworks, this project has a special structure to be able to generate one executable, which is wrapped in a bundle. Check out this great article by Alsey Miller on how this works.

However, this makes it even more portable because you need to copy a single file.

🔧 Setup

TODO: Improve

  1. In your Xcode project (build phases) add New Run Script Phase and drag it before Compile Sources phase
  2. Put in the script below and change your project specific IDs and Paths
  3. Everytime you do Clean and then Build, your translations will be fetched and models generated

You can find the localizations run script here.

👥 Credits

Made with ❤️ at Nodes.

📄 License

nstack-translations-generator is available under the MIT license. See the LICENSE file for more info.