Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.03 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.03 KB

LocalizableStrings

Support multiple *.strings files in XCode project.

Screenshot 2022-08-20 at 21 26 24

Using swift script to merge sub *.strings file into Localizable.strings.

How to use:

Create your XCode project Copy scripts folder to your main project folder or modify script to point to script folder. Create main Localizable.strings file. Edit scheme Preaction and add sh command: Screenshot 2022-08-20 at 21 24 51

${PROJECT_DIR}/scripts/generateLocalizableFile.sh ${PROJECT_DIR}

Press cmd + B to trigger prebuild.

Switch to "Report Navigator" (cmd + 9) tab and select Top "Build" to see the output. Screenshot 2022-08-20 at 21 31 20