liftoffcli / liftoff

CLI for creating and configuring new Xcode projects
MIT License
1.6k stars 104 forks source link

Support Localization of files #188

Open markflowers opened 10 years ago

markflowers commented 10 years ago

.storyboard, .xib, and Localizable.strings files should be moved to be contained inside of a Base.lproj folder so that adding additional localization is much easier in Xcode.

This could be solved easily by directly changing the default template to use anBase.lproj instead of the Nibs and Storyboards folders, and that would just be a user preference that anyone could make themselves in a custom template.

However, I think the correct solution is to place the localizable files in the Base.lproj folder, but link them into the existing default template folders in Xcode (/Nibs, /Storyboards, etc ...). There should probably also be a default /Strings folder with a default Localizable.strings file to nudge people in the correct direction with localization and string management.

markflowers commented 10 years ago

I'd like to work on making this one happen, just wanted to get feedback before I dive in.

gfontenot commented 10 years ago

I'm all for this. Best practices FTW. And yeah, the more we can mimic Xcode's behavior here, the better. Forewarning: This might get hairy, since it would be the one place where the directory structure doesn't match the group structure.

bitcrumb commented 9 years ago

👍